aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-coff.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-02-24 19:49:18 +0000
committerNick Clifton <nickc@redhat.com>2000-02-24 19:49:18 +0000
commit056350c6bd025c6b73b25f39247c890581b215b1 (patch)
tree3ee95df831c15874e7550cddf4a55cdc2002dfdd /gas/config/obj-coff.h
parent8a0e0f38af77d6c38cdf9a257b55b4a06ce09124 (diff)
downloadgdb-056350c6bd025c6b73b25f39247c890581b215b1.zip
gdb-056350c6bd025c6b73b25f39247c890581b215b1.tar.gz
gdb-056350c6bd025c6b73b25f39247c890581b215b1.tar.bz2
Add support for WinCE targeted toolchains.
Diffstat (limited to 'gas/config/obj-coff.h')
-rw-r--r--gas/config/obj-coff.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h
index a616872..f60ae36 100644
--- a/gas/config/obj-coff.h
+++ b/gas/config/obj-coff.h
@@ -110,12 +110,29 @@
#endif
#ifdef TC_SH
+
+#ifdef TE_PE
+#define COFF_WITH_PE
+#endif
+
#include "coff/sh.h"
+
+#ifdef TE_PE
+#define TARGET_FORMAT "pe-shl"
+#else
#define TARGET_FORMAT \
(shl \
? (sh_small ? "coff-shl-small" : "coff-shl") \
: (sh_small ? "coff-sh-small" : "coff-sh"))
#endif
+#endif
+
+#ifdef TC_MIPS
+#define COFF_WITH_PE
+#include "coff/mipspe.h"
+#undef TARGET_FORMAT
+#define TARGET_FORMAT "pe-mips"
+#endif
#ifdef TC_M88K
#include "coff/m88k.h"