diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2002-11-11 17:11:53 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2002-11-11 17:11:53 +0000 |
commit | 1a89f85f47a3854adae4b61ab31eca4d044561ab (patch) | |
tree | 61042b31c219aa3756ed3e5de41ea8e7a57a53a8 /gas | |
parent | 46ae13f0c9ac84143c8b843acb92555ac4d2432b (diff) | |
download | gdb-1a89f85f47a3854adae4b61ab31eca4d044561ab.zip gdb-1a89f85f47a3854adae4b61ab31eca4d044561ab.tar.gz gdb-1a89f85f47a3854adae4b61ab31eca4d044561ab.tar.bz2 |
* config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if STRICT_PE_FORMAT.
Diffstat (limited to 'gas')
-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) |