OSDN Git Service

1999-09-11 Donn Terry <donn@interix.com>
authorIan Lance Taylor <ian@airs.com>
Sun, 12 Sep 1999 05:09:50 +0000 (05:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 12 Sep 1999 05:09:50 +0000 (05:09 +0000)
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
BFD_RELOC_RVA relocations.

gas/ChangeLog
gas/config/tc-i386.c

index 565944d..da3efb4 100644 (file)
@@ -10,6 +10,9 @@
 
 1999-09-11  Donn Terry  <donn@interix.com>
 
+       * 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".
index 8e3cae7..c2d894b 100644 (file)
@@ -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;