Allow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted into
a GOT reloc.
This commit is contained in:
parent
1cd2bb725b
commit
8df7094c00
|
@ -1,3 +1,8 @@
|
|||
2002-10-23 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
|
||||
_GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
|
||||
|
||||
2002-10-23 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
|
||||
|
|
|
@ -10339,7 +10339,7 @@ tc_gen_reloc (section, fixp)
|
|||
}
|
||||
|
||||
#ifdef OBJ_ELF
|
||||
if (code == BFD_RELOC_32_PCREL
|
||||
if ((code == BFD_RELOC_32_PCREL || code == BFD_RELOC_32)
|
||||
&& GOT_symbol
|
||||
&& fixp->fx_addsy == GOT_symbol)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue