* scripttempl/i960.sc: Add CONSTRUCTORS to .data.
[binutils-gdb.git] / config.sub
index fc36623a16896b23144fe6a9c40576d3b679b80e..e955fe30935e2bea358ae44b4011a055f47a7e70 100755 (executable)
@@ -77,7 +77,7 @@ case $os in
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-       -sim                                          # CYGNUS LOCAL
+       -sim | -cisco)                                          # CYGNUS LOCAL
                os=
                basic_machine=$1
                ;;
@@ -92,7 +92,7 @@ case $os in
                basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
                ;;
        -hiux*)
-               os=hiuxwe2
+               os=-hiuxwe2
                ;;
        -sco4)
                os=-sco3.2v4
@@ -120,9 +120,15 @@ case $os in
        -isc*)
                basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
                ;;
-       -lynx)
+       -lynx*)
                os=-lynxos
                ;;
+       -os9k)
+               os=-os9k
+               ;;
+       -os9)
+               os=-os9
+               ;;
 esac
 
 # Decode aliases for certain CPU-COMPANY combinations.
@@ -160,7 +166,7 @@ case $basic_machine in
 # start-sanitize-v9
        sparc64)                                        # CYGNUS LOCAL
                basic_machine=sparc64-sun
-               os=-elf64i64p
+               os=-elf
                ;;
        sparc64-*)                                      # CYGNUS LOCAL
                ;;
@@ -361,9 +367,6 @@ case $basic_machine in
                basic_machine=z8k-zilog
                os=-sim
                ;;
-       z8k)                                            # CYGNUS LOCAL
-               basic_machine=z8k-zilog
-               ;;
        sun3)
                basic_machine=m68k-sun
                ;;
@@ -618,11 +621,9 @@ case $basic_machine in
                ;;
        sparclitefrw)                                   # CYGNUS LOCAL
                basic_machine=sparclitefrw-fujitsu
-               os=-none
                ;;
        sparclitefrwcompat)                             # CYGNUS LOCAL
                basic_machine=sparclitefrwcompat-fujitsu
-               os=-none
                ;;
        adobe68k)                                       # CYGNUS LOCAL
                basic_machine=m68010-adobe
@@ -717,7 +718,7 @@ case $os in
              | -hiux* | -386bsd* | -netbsd* | -riscix* | -lynxos* \
              | -go32 | -vsta | -sim | -es1800* | -udi | -hms* | -xray | -hds* \
              | -os68k* | -none* | -v88r* | -aout* | -coff | -elf* | -bosx* \
-             | -abug | -ecoff* | -netware* )
+             | -abug | -ecoff* | -netware* | -os9* )
                                # The last three lines above are CYGNUS LOCAL
        ;;
        -sunos5*)
@@ -814,6 +815,12 @@ case $basic_machine in
                # default.
                # os=-sunos4
                ;;
+       m68*-cisco)
+               os=-aout
+               ;;
+       mips*-cisco)
+               os=-elf
+               ;;
        *-tti)  # must be before sparc entry or we get the wrong os.
                os=-sysv3
                ;;
@@ -898,6 +905,10 @@ fi
 # manufacturer.  We pick the logical manufacturer.
 vendor=unknown
 case $basic_machine in
+       sparc-sun)
+               # Strip off Sun's patch-release suffix
+               os=`echo $os | sed 's/_U1$//'`
+               ;;
        *-unknown)
                case $os in
                        -riscix*)