diff options
author | Kim Knuttila <krk@cygnus> | 1995-09-27 14:47:41 +0000 |
---|---|---|
committer | Kim Knuttila <krk@cygnus> | 1995-09-27 14:47:41 +0000 |
commit | 1d854da665e67d1b73116aeb377196ead278d6e0 (patch) | |
tree | 8ae83450cd5e2c1d4418bbcce40129b6d109142b /gas | |
parent | 99062cfcc99ad5c490602afae0524fdd8307aa7d (diff) | |
download | gdb-1d854da665e67d1b73116aeb377196ead278d6e0.zip gdb-1d854da665e67d1b73116aeb377196ead278d6e0.tar.gz gdb-1d854da665e67d1b73116aeb377196ead278d6e0.tar.bz2 |
Added TE_PE target environment support
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-ppc.h | 7 |
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 |