* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 23 Aug 2000 11:19:20 +0000 (11:19 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 23 Aug 2000 11:19:20 +0000 (11:19 +0000)
environment is pe.

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

index 6044534..e98d769 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-23  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
+       environment is pe.
+
 2000-08-22  H.J. Lu  <hjl@gnu.org>
 
        * config.in (STRICTCOFF): New for strict COFF.
index 9c4609b..0308431 100644 (file)
@@ -41,7 +41,7 @@ struct fix;
 #define tc_fix_adjustable(X)  tc_i386_fix_adjustable(X)
 extern int tc_i386_fix_adjustable PARAMS ((struct fix *));
 
-#if defined (OBJ_ELF) || defined (OBJ_COFF) || defined (TE_PE)
+#if (defined (OBJ_ELF) || defined (OBJ_COFF)) && !defined (TE_PE)
 /* This arranges for gas/write.c to not apply a relocation if
    tc_fix_adjustable() says it is not adjustable.  */
 #define TC_FIX_ADJUSTABLE(fixP) tc_fix_adjustable (fixP)