aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2008-11-29 09:35:52 +0000
committerKai Tietz <kai.tietz@onevision.com>2008-11-29 09:35:52 +0000
commitb01ee69ddcdf4270347db1e490c62626cfc9d32b (patch)
treeaa5ef326206b4d708f31e8df2a41ec573a375ce1 /gas
parent72f10fadb61f47fb994116736f97e7b598ca2543 (diff)
downloadgdb-b01ee69ddcdf4270347db1e490c62626cfc9d32b.zip
gdb-b01ee69ddcdf4270347db1e490c62626cfc9d32b.tar.gz
gdb-b01ee69ddcdf4270347db1e490c62626cfc9d32b.tar.bz2
2008-11-29 Kai Tietz <kai.tietz@onevision.com>
* config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP use "pe-i386" for 32-bit.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8874fe6..d89a87e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-29 Kai Tietz <kai.tietz@onevision.com>
+
+ * config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
+ use "pe-i386" for 32-bit.
+
2008-11-28 Jakub Jelinek <jakub@redhat.com>
* Makefile.am (ehopt.o): Add struc-symbol.h.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 71abb01..b58dbe0 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