diff options
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.h | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 89afea9..1dc3f72 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index e421786..fc7de78 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) |