From b01ee69ddcdf4270347db1e490c62626cfc9d32b Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Sat, 29 Nov 2008 09:35:52 +0000 Subject: [PATCH] 2008-11-29 Kai Tietz * config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP use "pe-i386" for 32-bit. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 8874fe681c1..d89a87e9464 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-11-29 Kai Tietz + + * config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP + use "pe-i386" for 32-bit. + 2008-11-28 Jakub Jelinek * Makefile.am (ehopt.o): Add struc-symbol.h. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 71abb01bbab..b58dbe0d0e2 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -8337,7 +8337,7 @@ i386_target_format (void) { #ifdef TE_PEP case bfd_target_coff_flavour: - return flag_code == CODE_64BIT ? COFF_TARGET_FORMAT : "coff-i386"; + return flag_code == CODE_64BIT ? COFF_TARGET_FORMAT : "pe-i386"; break; #endif #ifdef OBJ_MAYBE_AOUT -- 2.30.2