aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKim Knuttila <krk@cygnus>1995-09-27 14:47:41 +0000
committerKim Knuttila <krk@cygnus>1995-09-27 14:47:41 +0000
commit1d854da665e67d1b73116aeb377196ead278d6e0 (patch)
tree8ae83450cd5e2c1d4418bbcce40129b6d109142b /gas
parent99062cfcc99ad5c490602afae0524fdd8307aa7d (diff)
downloadfsf-binutils-gdb-1d854da665e67d1b73116aeb377196ead278d6e0.zip
fsf-binutils-gdb-1d854da665e67d1b73116aeb377196ead278d6e0.tar.gz
fsf-binutils-gdb-1d854da665e67d1b73116aeb377196ead278d6e0.tar.bz2
Added TE_PE target environment support
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-ppc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h
index c31a98b..9d46c24 100644
--- a/gas/config/tc-ppc.h
+++ b/gas/config/tc-ppc.h
@@ -33,8 +33,15 @@ extern int target_big_endian;
/* The target BFD format. */
#ifdef OBJ_COFF
+#ifdef TE_PE
+#define TARGET_FORMAT (target_big_endian) ? "pe-powerpc" : "pe-powerpcle"
+#elif defined(PPC)
+#define TARGET_FORMAT (target_big_endian) ? "coff-powerpc" : "coff-powerpcle"
+#else
#define TARGET_FORMAT "aixcoff-rs6000"
#endif
+#endif
+
#ifdef OBJ_ELF
#define TARGET_FORMAT (target_big_endian) ? "elf32-powerpc" : "elf32-powerpcle"
#endif