From 1d854da665e67d1b73116aeb377196ead278d6e0 Mon Sep 17 00:00:00 2001 From: Kim Knuttila Date: Wed, 27 Sep 1995 14:47:41 +0000 Subject: [PATCH] Added TE_PE target environment support --- gas/config/tc-ppc.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h index c31a98b7fb3..9d46c24dd5a 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 -- 2.30.2