* mpw-config.in: Add wildcards for config matching, add mips-*-*
authorStan Shebs <shebs@codesourcery.com>
Thu, 15 Aug 1996 23:40:40 +0000 (23:40 +0000)
committerStan Shebs <shebs@codesourcery.com>
Thu, 15 Aug 1996 23:40:40 +0000 (23:40 +0000)
case, forward-include bfd/elf-bfd.h.

gas/mpw-config.in

index 3d3eb6f..9a58340 100644 (file)
@@ -34,25 +34,25 @@ Else If "{target_canonical}" =~ /powerpc-apple-macos/
        Set bfd_gas yes
        Set em macos
 
-Else If "{target_canonical}" =~ /i386-unknown-go32/
+Else If "{target_canonical}" =~ /i386-\Option-x-go32/
        Set obj_format "coff"
        Set TDEFINES '-d I386COFF'
 
-Else If "{target_canonical}" =~ /m68k-unknown-coff/
+Else If "{target_canonical}" =~ /m68k-\Option-x-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"
+Else If "{target_canonical}" =~ /mips-\Option-x-\Option-x/
+       # Assume other OSes etc use ELF
+       Set obj_format "elf"
        Set bfd_gas yes
        Set TDEFINES '-d TARGET_BYTES_BIG_ENDIAN'
-# end-sanitize-gm
+       forward-include "{srcroot}"bfd:elf-bfd.h 'bfd/elf-bfd.h'
 
-Else If "{target_canonical}" =~ /sh-hitachi-hms/
+Else If "{target_canonical}" =~ /sh-\Option-x-hms/
        Set obj_format "coff"
        forward-include "{srcroot}"opcodes:sh-opc.h 'opcodes/sh-opc.h'
 End If