Support for Apollo Series 400 machines, under the BSD environment.
[binutils-gdb.git] / config.sub
index bc4eac425138c6e73dc04eef80692c4a6e7832e8..5d2c138b5daeec4b1f2d86f21df744d555f5175d 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Configuration validation subroutine script, version 1.0.
-#   Copyright (C) 1991 Free Software Foundation, Inc.
+#   Copyright (C) 1991, 1992 Free Software Foundation, Inc.
 
 #This file is free software; you can redistribute it and/or modify
 #it under the terms of the GNU General Public License as published by
@@ -91,7 +91,7 @@ esac
 case $basic_machine in
        # Recognize the basic CPU types with without company name.
        tahoe | i386 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \
-               | tron | a29k | 580 | i960 | h8300)
+               | tron | a29k | 580 | i960 | h8300 | v70)
                basic_machine=$basic_machine-unknown
                ;;
        # Recognize the basic CPU types with with company name.
@@ -139,6 +139,10 @@ case $basic_machine in
                basic_machine=vax-dec
                os=-vms
                ;;
+       i386mach)
+               basic_machine=i386-mach
+               os=-mach
+               ;;
        i386v32)
                basic_machine=i386-unknown
                os=-sysv32
@@ -202,9 +206,13 @@ case $basic_machine in
        genix)
                basic_machine=ns32k-ns
                ;;
-       iris | iris4d)
+       iris | iris3 | iris4d)
+               basic_machine=mips-sgi
+               os=-irix3
+               ;;
+       iris4)
                basic_machine=mips-sgi
-               os=-irix
+               os=-irix4
                ;;
        news | news700 | news800 | news900)
                basic_machine=m68k-sony
@@ -291,6 +299,10 @@ case $basic_machine in
                basic_machine=m68k-apollo
                os=-sysv
                ;;
+       apollo68bsd)
+               basic_machine=m68k-apollo
+               os=-bsd
+               ;;
        altos | altos3068)
                basic_machine=m68k-altos
                ;;
@@ -304,6 +316,9 @@ case $basic_machine in
                basic_machine=mips-sony
                os=-newsos
                ;;
+       st2000)
+               basic_machine=m68kmote-tandem
+               ;;
        decstation-dec | decstation | decstation-3100 | pmax | pmin | dec3100 | decstatn)
                basic_machine=mips-dec
                ;;
@@ -334,6 +349,10 @@ case $basic_machine in
                basic_machine=m68k-cbm
                os=-sysv4
                ;;
+       stratus)
+               basic_machine=i860-stratus
+               os=-sysv4
+               ;;
        cray | ymp)
                basic_machine=ymp-cray
                os=-unicos
@@ -386,6 +405,10 @@ case $basic_machine in
                basic_machine=i386-ncr
                os=-sysv4
                ;;
+       necv70)
+               basic_machine=v70-nec
+               os=-sysv
+               ;;
        news1000)
                basic_machine=m68030-sony
                os=-newsos
@@ -404,8 +427,7 @@ case $basic_machine in
                ;;
        ultra3)
                basic_machine=a29k-nyu
-# Is sym1 really a different system, or is it really sysv?
-#              os=-sym1
+               os=-sym1
                ;;
        vxworks960)
                basic_machine=i960-wrs
@@ -415,6 +437,10 @@ case $basic_machine in
                basic_machine=m68k-wrs
                os=-vxworks
                ;;
+       os68k)
+               basic_machine=m68k-none
+               os=-os68k
+               ;;
        none)
                basic_machine=none-none
                os=-none
@@ -437,6 +463,9 @@ case $basic_machine in
        sparc)
                basic_machine=sparc-sun
                ;;
+       fx2800)
+               basic_machine=i860-alliant
+               ;;
        *)
                echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
                exit 1
@@ -453,8 +482,8 @@ case $os in
        # Each alternative must end in a *, to match a version number.
        -bsd* | -sysv* | -mach* | -minix* | -genix* | -ultrix* \
              | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos* | -hpux* \
-             | -unos* | -osf* | -v88r* | -luna* | -dgux* | -solari* \
-             | -amigados* | -msdos* \
+             | -unos* | -osf* | -v88r* | -luna* | -dgux* | -solari* | -sym* \
+             | -amigados* | -msdos* | -none* | -os68k* | -irix* \
              | -nindy* | -vxworks* | -ebmon* | -hds* | -m88kbcs*)
                ;;
 # start-sanitize-v9
@@ -476,9 +505,15 @@ case $os in
        -aos*)
                os=-bsd
                ;;
-       -ctix* | -irix* | -uts*)
+       -ctix* | -uts*)
                os=-sysv
                ;;
+       -svr4)
+               os=-sysv4
+               ;;
+       -svr3)
+               os=-sysv3
+               ;;
        *)
                # Get rid of the `-' at the beginning of $os.
                os=`echo $1 | sed 's/[^-]*-//'`