projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99062cf
)
Added TE_PE target environment support
author
Kim Knuttila
<krk@cygnus>
Wed, 27 Sep 1995 14:47:41 +0000
(14:47 +0000)
committer
Kim Knuttila
<krk@cygnus>
Wed, 27 Sep 1995 14:47:41 +0000
(14:47 +0000)
gas/config/tc-ppc.h
patch
|
blob
|
history
diff --git
a/gas/config/tc-ppc.h
b/gas/config/tc-ppc.h
index c31a98b7fb34b3716d8d6911c2b1eced74023fa2..9d46c24dd5a2ecffb04089b40158c59c2fe3ce66 100644
(file)
--- 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