diff --git a/gas/ChangeLog b/gas/ChangeLog index 89afea9b14..1dc3f72876 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-11-11 Christopher Faylor + + * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if + STRICT_PE_FORMAT. + 2002-11-11 Svein E. Seldal * config/tc-tic4x.c: Declare as many functions as possible as diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index e421786850..fc7de781dc 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -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)