From d33e1d248c36e7214f5fdae34722df4d29bba8e9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 12 Sep 1999 05:09:50 +0000 Subject: [PATCH] 1999-09-11 Donn Terry * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust BFD_RELOC_RVA relocations. --- gas/ChangeLog | 3 +++ gas/config/tc-i386.c | 1 + 2 files changed, 4 insertions(+) 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; -- 2.30.2