* mpw-config.in: Don't always use te-generic.h for emulation.
authorStan Shebs <shebs@codesourcery.com>
Fri, 1 Dec 1995 22:40:56 +0000 (22:40 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 1 Dec 1995 22:40:56 +0000 (22:40 +0000)
(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.

gas/ChangeLog
gas/mpw-config.in
gas/mpw-make.sed

index ae06fbbf7113916dc4029ebb484420c785afd2a7..ef90be1d9402e442ede9fda8110c97759267af69 100644 (file)
@@ -1,3 +1,13 @@
+Fri Dec  1 11:57:56 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * 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.
+
 Fri Dec  1 10:59:25 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * configure.in: Improve message about unsupported ELF targets.
index ae7e2982404365ea7b5aa5529a3397b48443cc47..3e1f196e7656bb314c977da3a5c8db28a0d2b9ac 100644 (file)
@@ -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.
 
index 4f2d553004526c4439bed913dd91631e5e1f67ee..03db785c3ff3d7f3f93903696221a8b4a5248a2c 100644 (file)
@@ -74,6 +74,21 @@ LOCAL_LOADLIBES = \
 $a\
 stamps \\Option-f config-stamp\
 
+/^install \\Option-f/,/^$/c\
+install \\Option-f all install-only\
+\
+install-only \\Option-f\
+       If "`Exists "{prefix}"`" == ""\
+               Echo "{prefix}" does not exist, cannot install anything\
+               Exit 1\
+       End If\
+       If "`Exists "{bindir}"`" == ""\
+               NewFolder "{bindir}"\
+       End If\
+       Duplicate -y :as.new "{bindir}"as\
+       Duplicate -y :gasp.new "{bindir}"gasp\
+
+
 # Whack out config-rebuilding targets, they won't work.
 /^Makefile \\Option-f/,/^$/d
 /^config.status \\Option-f/,/^$/d
This page took 0.029077 seconds and 4 git commands to generate.