From: Ian Lance Taylor Date: Sun, 12 Sep 1999 05:09:50 +0000 (+0000) Subject: 1999-09-11 Donn Terry X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d33e1d248c36e7214f5fdae34722df4d29bba8e9;p=binutils-gdb.git 1999-09-11 Donn Terry * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust BFD_RELOC_RVA relocations. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 565944d0f63..da3efb4a7f3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -10,6 +10,9 @@ 1999-09-11 Donn Terry + * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust + BFD_RELOC_RVA relocations. + * config/tc-i386.c (md_undefined_symbol): Compare the name against the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it starts with "_G". diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 8e3cae70084..c2d894ba349 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -953,6 +953,7 @@ tc_i386_fix_adjustable (fixP) if (fixP->fx_r_type == BFD_RELOC_386_GOTOFF || fixP->fx_r_type == BFD_RELOC_386_PLT32 || fixP->fx_r_type == BFD_RELOC_386_GOT32 + || fixP->fx_r_type == BFD_RELOC_RVA || fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT || fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY) return 0;