2008-11-29 Kai Tietz <kai.tietz@onevision.com>
authorKai Tietz <kai.tietz@onevision.com>
Sat, 29 Nov 2008 09:35:52 +0000 (09:35 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Sat, 29 Nov 2008 09:35:52 +0000 (09:35 +0000)
* config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
use "pe-i386" for 32-bit.

gas/ChangeLog
gas/config/tc-i386.c

index 8874fe681c1e7e0922d0ca48e00d7539df32180e..d89a87e94644e22a2f75bb5371ecaab268b0fb12 100644 (file)
@@ -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.
index 71abb01bbaba0d95b8bf5fd8f15b54226dfb872b..b58dbe0d0e2b715a5c309bf200f050cce68c4f8d 100644 (file)
@@ -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