aboutsummaryrefslogtreecommitdiff
path: root/gas/mpw-config.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-12-01 22:40:56 +0000
committerStan Shebs <shebs@codesourcery.com>1995-12-01 22:40:56 +0000
commit90f543f68427eb7a884ad6152f7287569e1fe4c6 (patch)
tree7ef18cee2067b496b6dfac5c7f43eccfe9cacafe /gas/mpw-config.in
parente300da1c7ddf8d090d6d26c2b60b8813807d571e (diff)
downloadgdb-90f543f68427eb7a884ad6152f7287569e1fe4c6.zip
gdb-90f543f68427eb7a884ad6152f7287569e1fe4c6.tar.gz
gdb-90f543f68427eb7a884ad6152f7287569e1fe4c6.tar.bz2
* mpw-config.in: Don't always use te-generic.h for emulation.
(powerpc-apple-macos): Use emulation te-macos.h. start-sanitize-gm (mips-gm-magic): New configuration. end-sanitize-gm * mpw-make.sed (install, install-only): Edit in Mac-specific install procedure.
Diffstat (limited to 'gas/mpw-config.in')
-rw-r--r--gas/mpw-config.in21
1 files changed, 18 insertions, 3 deletions
diff --git a/gas/mpw-config.in b/gas/mpw-config.in
index ae7e298..3e1f196 100644
--- a/gas/mpw-config.in
+++ b/gas/mpw-config.in
@@ -19,21 +19,38 @@ Set TDEFINES ""
Set EXTRA_OBJECTS ""
+# Default emulation.
+
+Set em generic
+
If "{target_canonical}" =~ /m68k-apple-macos/
Set obj_format "coff"
Set TDEFINES '-d M68KCOFF'
Set EXTRA_OBJECTS '"{o}"m68k-parse.c.o'
+
Else If "{target_canonical}" =~ /powerpc-apple-macos/
Set obj_format "coff"
Set bfd_gas yes
+ Set em macos
+
Else If "{target_canonical}" =~ /i386-unknown-go32/
Set obj_format "coff"
Set TDEFINES '-d I386COFF'
+
Else If "{target_canonical}" =~ /m68k-unknown-coff/
Set TDEFINES '-d M68KCOFF'
+
Else If "{target_canonical}" =~ /mips-idt-ecoff/
Set bfd_gas yes
Set TDEFINES '-d TARGET_BYTES_BIG_ENDIAN'
+
+# start-sanitize-gm
+Else If "{target_canonical}" =~ /mips-gm-magic/
+ Set obj_format "ecoff"
+ Set bfd_gas yes
+ Set TDEFINES '-d TARGET_BYTES_BIG_ENDIAN'
+# end-sanitize-gm
+
Else If "{target_canonical}" =~ /sh-hitachi-hms/
Set obj_format "coff"
forward-include "{srcroot}"opcodes:sh-opc.h 'opcodes/sh-opc.h'
@@ -45,9 +62,7 @@ forward-include "{srcdir}"config:tc-{short_arch_name}.h targ-cpu.h
forward-include "{srcdir}"config:obj-{obj_format}.c obj-format.c
forward-include "{srcdir}"config:obj-{obj_format}.h obj-format.h
-# Default emulation.
-
-forward-include "{srcdir}"config:te-generic.h targ-env.h
+forward-include "{srcdir}"config:te-{em}.h targ-env.h
# Special cases for float handling.