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 565944d0f6398e6ae0db45f808914d02542541c7..da3efb4a7f366d54e795addea894f17cd180803d 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 8e3cae700842bd6fde80251415e9e21af8905780..c2d894ba349e29849db5a3a8f5ff64975181162b 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;