* config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
authorDJ Delorie <dj@redhat.com>
Wed, 21 Jun 2000 02:18:17 +0000 (02:18 +0000)
committerDJ Delorie <dj@redhat.com>
Wed, 21 Jun 2000 02:18:17 +0000 (02:18 +0000)
Sept 1999; RVA relocs need to be treated more like DIR32 relocs
for cygwin import libraries to work properly.

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

index f3ec466..7f6ff45 100644 (file)
@@ -1,3 +1,9 @@
+2000-06-20  DJ Delorie  <dj@cygnus.com>
+
+       * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
+       Sept 1999; RVA relocs need to be treated more like DIR32 relocs
+       for cygwin import libraries to work properly.
+
 2000-06-20  H.J. Lu  <hjl@gnu.org>
 
        * Makefile.am: Rebuild dependency.
index 37fe3d8..2c32e74 100644 (file)
@@ -1034,7 +1034,6 @@ 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;