TC_RELOC_GLOBAL_OFFSET_TABLE usage?

Andreas Jaeger aj@suse.de
Wed Jan 10 01:52:00 GMT 2001


Looking at gas/config/tc-i386.h I noticed TC_RELOC_GLOBAL_OFFSET_TABLE
- and thought I had to change this for x86-64.  But grepping over the
whole sourceware sources didn't reveal any usage of it at all:

gee:/cvs/sourceware-src:[0]$ grep -r TC_RELOC_GLOBAL_OFFSET_TABLE .
./gas/config/tc-i386.h:#define TC_RELOC_GLOBAL_OFFSET_TABLE BFD_RELOC_386_GOTPC
./gas/config/tc-sh.c:                      size, &exp, 0, TC_RELOC_GLOBAL_OFFSET_TABLE);
./gas/config/tc-sh.h:#define TC_RELOC_GLOBAL_OFFSET_TABLE BFD_RELOC_SH_GOTPC
./gas/ChangeLog:        TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
./gas/ChangeLog-9295:   TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): New

Do we really need TC_RELOC_GLOBAL_OFFSET_TABLE?  Where is it needed?
Or can it be deleted?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Binutils mailing list