* config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if STRICT_PE_FORMAT.
authorChristopher Faylor <me+cygwin@cgf.cx>
Mon, 11 Nov 2002 17:11:53 +0000 (17:11 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Mon, 11 Nov 2002 17:11:53 +0000 (17:11 +0000)
gas/ChangeLog
gas/config/tc-i386.h

index 89afea9..1dc3f72 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-11  Christopher Faylor  <cgf@redhat.com>
+
+       * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if
+       STRICT_PE_FORMAT.
+
 2002-11-11  Svein E. Seldal  <Svein.Seldal@solidas.com>
 
        * config/tc-tic4x.c: Declare as many functions as possible as
index e421786..fc7de78 100644 (file)
@@ -472,9 +472,11 @@ extern int tc_i386_fix_adjustable PARAMS ((struct fix *));
 
 /* ELF wants external syms kept, as does PE COFF.  */
 #ifdef TE_PE
-#define EXTERN_FORCE_RELOC                             \
+# ifdef STRICT_PE_FORMAT
+#   define EXTERN_FORCE_RELOC                          \
   (OUTPUT_FLAVOR == bfd_target_elf_flavour             \
    || OUTPUT_FLAVOR == bfd_target_coff_flavour)
+# endif
 #else
 #define EXTERN_FORCE_RELOC                             \
   (OUTPUT_FLAVOR == bfd_target_elf_flavour)