diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-05-20 13:48:16 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-05-20 13:48:16 +0000 |
commit | 321098a5ad7818e3c08bcd5144f3049c4884309a (patch) | |
tree | dca326b3a770d692301e75fd4ceb2e99051f6f2c /gas/config/tc-i386.h | |
parent | eca41774ed42348bcea54dce730cc4b7ea47d9c6 (diff) | |
download | gdb-321098a5ad7818e3c08bcd5144f3049c4884309a.zip gdb-321098a5ad7818e3c08bcd5144f3049c4884309a.tar.gz gdb-321098a5ad7818e3c08bcd5144f3049c4884309a.tar.bz2 |
2009-05-20 Kai Tietz <kai.tietz@onevision.com>
H.J. Lu <hongjiu.lu@intel.com>
* config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
(TARGET_FORMAT): Removed for x86 pe-coff.
(COFF_TARGET_FORMAT): Likewise.
* config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
(md_parse_option): Likewise.
(md_show_usage): Show option --32/--64 for x86 pe-coff.
(i386_target_format): Use also for x86 pe-coff.
* config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
for x86 pe-coff.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r-- | gas/config/tc-i386.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index dab3c55..bb4821a 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -71,13 +71,11 @@ extern unsigned long i386_mach (void); #endif #if ((defined (OBJ_MAYBE_COFF) && defined (OBJ_MAYBE_AOUT)) \ - || defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) + || defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) \ + || defined (TE_PE) || defined (TE_PEP)) extern const char *i386_target_format (void); #define TARGET_FORMAT i386_target_format () #else -#ifdef OBJ_ELF -#define TARGET_FORMAT ELF_TARGET_FORMAT -#endif #ifdef OBJ_AOUT #define TARGET_FORMAT AOUT_TARGET_FORMAT #endif |