aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2002-11-11 17:11:53 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2002-11-11 17:11:53 +0000
commit1a89f85f47a3854adae4b61ab31eca4d044561ab (patch)
tree61042b31c219aa3756ed3e5de41ea8e7a57a53a8 /gas/config/tc-i386.h
parent46ae13f0c9ac84143c8b843acb92555ac4d2432b (diff)
downloadgdb-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/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h4
1 files changed, 3 insertions, 1 deletions
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)