config.sub
changeset 1270 b1425473be0f
parent 886 05c551e5bc64
     1.1 --- a/config.sub	Thu Jan 26 06:10:34 2006 +0000
     1.2 +++ b/config.sub	Thu Jan 26 07:33:57 2006 +0000
     1.3 @@ -1,9 +1,9 @@
     1.4  #! /bin/sh
     1.5  # Configuration validation subroutine script.
     1.6  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     1.7 -#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
     1.8 +#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
     1.9  
    1.10 -timestamp='2003-02-22'
    1.11 +timestamp='2006-01-02'
    1.12  
    1.13  # This file is (in principle) common to ALL GNU software.
    1.14  # The presence of a machine in this file suggests that SOME GNU software
    1.15 @@ -21,14 +21,15 @@
    1.16  #
    1.17  # You should have received a copy of the GNU General Public License
    1.18  # along with this program; if not, write to the Free Software
    1.19 -# Foundation, Inc., 59 Temple Place - Suite 330,
    1.20 -# Boston, MA 02111-1307, USA.
    1.21 -
    1.22 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    1.23 +# 02110-1301, USA.
    1.24 +#
    1.25  # As a special exception to the GNU General Public License, if you
    1.26  # distribute this file as part of a program that contains a
    1.27  # configuration script generated by Autoconf, you may include it under
    1.28  # the same distribution terms that you use for the rest of that program.
    1.29  
    1.30 +
    1.31  # Please send patches to <config-patches@gnu.org>.  Submit a context
    1.32  # diff and a properly formatted ChangeLog entry.
    1.33  #
    1.34 @@ -70,7 +71,7 @@
    1.35  version="\
    1.36  GNU config.sub ($timestamp)
    1.37  
    1.38 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
    1.39 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    1.40  Free Software Foundation, Inc.
    1.41  
    1.42  This is free software; see the source for copying conditions.  There is NO
    1.43 @@ -83,11 +84,11 @@
    1.44  while test $# -gt 0 ; do
    1.45    case $1 in
    1.46      --time-stamp | --time* | -t )
    1.47 -       echo "$timestamp" ; exit 0 ;;
    1.48 +       echo "$timestamp" ; exit ;;
    1.49      --version | -v )
    1.50 -       echo "$version" ; exit 0 ;;
    1.51 +       echo "$version" ; exit ;;
    1.52      --help | --h* | -h )
    1.53 -       echo "$usage"; exit 0 ;;
    1.54 +       echo "$usage"; exit ;;
    1.55      -- )     # Stop option processing
    1.56         shift; break ;;
    1.57      - )	# Use stdin as input.
    1.58 @@ -99,7 +100,7 @@
    1.59      *local*)
    1.60         # First pass through any local machine types.
    1.61         echo $1
    1.62 -       exit 0;;
    1.63 +       exit ;;
    1.64  
    1.65      * )
    1.66         break ;;
    1.67 @@ -118,7 +119,9 @@
    1.68  # Here we must recognize all the valid KERNEL-OS combinations.
    1.69  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
    1.70  case $maybe_os in
    1.71 -  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
    1.72 +  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
    1.73 +  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
    1.74 +  storm-chaos* | os2-emx* | rtmk-nova*)
    1.75      os=-$maybe_os
    1.76      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    1.77      ;;
    1.78 @@ -144,7 +147,7 @@
    1.79  	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
    1.80  	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
    1.81  	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
    1.82 -	-apple | -axis)
    1.83 +	-apple | -axis | -knuth | -cray)
    1.84  		os=
    1.85  		basic_machine=$1
    1.86  		;;
    1.87 @@ -169,6 +172,10 @@
    1.88  	-hiux*)
    1.89  		os=-hiuxwe2
    1.90  		;;
    1.91 +	-sco6)
    1.92 +		os=-sco5v6
    1.93 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
    1.94 +		;;
    1.95  	-sco5)
    1.96  		os=-sco3.2v5
    1.97  		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
    1.98 @@ -185,6 +192,10 @@
    1.99  		# Don't forget version if it is 3.2v4 or newer.
   1.100  		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
   1.101  		;;
   1.102 +	-sco5v6*)
   1.103 +		# Don't forget version if it is 3.2v4 or newer.
   1.104 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
   1.105 +		;;
   1.106  	-sco*)
   1.107  		os=-sco3.2v2
   1.108  		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
   1.109 @@ -228,14 +239,16 @@
   1.110  	| a29k \
   1.111  	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
   1.112  	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
   1.113 +	| am33_2.0 \
   1.114  	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
   1.115 -	| clipper \
   1.116 +	| bfin \
   1.117 +	| c4x | clipper \
   1.118  	| d10v | d30v | dlx | dsp16xx \
   1.119  	| fr30 | frv \
   1.120  	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
   1.121  	| i370 | i860 | i960 | ia64 \
   1.122 -	| ip2k \
   1.123 -	| m32r | m68000 | m68k | m88k | mcore \
   1.124 +	| ip2k | iq2000 \
   1.125 +	| m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
   1.126  	| mips | mipsbe | mipseb | mipsel | mipsle \
   1.127  	| mips16 \
   1.128  	| mips64 | mips64el \
   1.129 @@ -244,30 +257,37 @@
   1.130  	| mips64vr4100 | mips64vr4100el \
   1.131  	| mips64vr4300 | mips64vr4300el \
   1.132  	| mips64vr5000 | mips64vr5000el \
   1.133 +	| mips64vr5900 | mips64vr5900el \
   1.134  	| mipsisa32 | mipsisa32el \
   1.135  	| mipsisa32r2 | mipsisa32r2el \
   1.136  	| mipsisa64 | mipsisa64el \
   1.137 +	| mipsisa64r2 | mipsisa64r2el \
   1.138  	| mipsisa64sb1 | mipsisa64sb1el \
   1.139  	| mipsisa64sr71k | mipsisa64sr71kel \
   1.140  	| mipstx39 | mipstx39el \
   1.141  	| mn10200 | mn10300 \
   1.142 +	| mt \
   1.143  	| msp430 \
   1.144  	| ns16k | ns32k \
   1.145 -	| openrisc | or32 \
   1.146 +	| or32 \
   1.147  	| pdp10 | pdp11 | pj | pjl \
   1.148  	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
   1.149  	| pyramid \
   1.150 -	| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
   1.151 +	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
   1.152  	| sh64 | sh64le \
   1.153 -	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
   1.154 +	| sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
   1.155 +	| sparcv8 | sparcv9 | sparcv9b \
   1.156  	| strongarm \
   1.157 -	| tahoe | thumb | tic80 | tron \
   1.158 +	| tahoe | thumb | tic4x | tic80 | tron \
   1.159  	| v850 | v850e \
   1.160  	| we32k \
   1.161 -	| x86 | xscale | xstormy16 | xtensa \
   1.162 +	| x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
   1.163  	| z8k)
   1.164  		basic_machine=$basic_machine-unknown
   1.165  		;;
   1.166 +	m32c)
   1.167 +		basic_machine=$basic_machine-unknown
   1.168 +		;;
   1.169  	m6811 | m68hc11 | m6812 | m68hc12)
   1.170  		# Motorola 68HC11/12.
   1.171  		basic_machine=$basic_machine-unknown
   1.172 @@ -275,6 +295,9 @@
   1.173  		;;
   1.174  	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
   1.175  		;;
   1.176 +	ms1)
   1.177 +		basic_machine=mt-unknown
   1.178 +		;;
   1.179  
   1.180  	# We use `pc' rather than `unknown'
   1.181  	# because (1) that's what they normally are, and
   1.182 @@ -295,19 +318,19 @@
   1.183  	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
   1.184  	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
   1.185  	| avr-* \
   1.186 -	| bs2000-* \
   1.187 +	| bfin-* | bs2000-* \
   1.188  	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
   1.189 -	| clipper-* | cydra-* \
   1.190 +	| clipper-* | craynv-* | cydra-* \
   1.191  	| d10v-* | d30v-* | dlx-* \
   1.192  	| elxsi-* \
   1.193  	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
   1.194  	| h8300-* | h8500-* \
   1.195  	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
   1.196  	| i*86-* | i860-* | i960-* | ia64-* \
   1.197 -	| ip2k-* \
   1.198 -	| m32r-* \
   1.199 +	| ip2k-* | iq2000-* \
   1.200 +	| m32r-* | m32rle-* \
   1.201  	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
   1.202 -	| m88110-* | m88k-* | mcore-* \
   1.203 +	| m88110-* | m88k-* | maxq-* | mcore-* \
   1.204  	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
   1.205  	| mips16-* \
   1.206  	| mips64-* | mips64el-* \
   1.207 @@ -316,33 +339,40 @@
   1.208  	| mips64vr4100-* | mips64vr4100el-* \
   1.209  	| mips64vr4300-* | mips64vr4300el-* \
   1.210  	| mips64vr5000-* | mips64vr5000el-* \
   1.211 +	| mips64vr5900-* | mips64vr5900el-* \
   1.212  	| mipsisa32-* | mipsisa32el-* \
   1.213  	| mipsisa32r2-* | mipsisa32r2el-* \
   1.214  	| mipsisa64-* | mipsisa64el-* \
   1.215 +	| mipsisa64r2-* | mipsisa64r2el-* \
   1.216  	| mipsisa64sb1-* | mipsisa64sb1el-* \
   1.217  	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
   1.218  	| mipstx39-* | mipstx39el-* \
   1.219 +	| mmix-* \
   1.220 +	| mt-* \
   1.221  	| msp430-* \
   1.222 -	| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
   1.223 +	| none-* | np1-* | ns16k-* | ns32k-* \
   1.224  	| orion-* \
   1.225  	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
   1.226  	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
   1.227  	| pyramid-* \
   1.228  	| romp-* | rs6000-* \
   1.229 -	| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
   1.230 +	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
   1.231  	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
   1.232 -	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
   1.233 -	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
   1.234 +	| sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
   1.235 +	| sparclite-* \
   1.236 +	| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
   1.237  	| tahoe-* | thumb-* \
   1.238  	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
   1.239  	| tron-* \
   1.240  	| v850-* | v850e-* | vax-* \
   1.241  	| we32k-* \
   1.242 -	| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
   1.243 -	| xtensa-* \
   1.244 +	| x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
   1.245 +	| xstormy16-* | xtensa-* \
   1.246  	| ymp-* \
   1.247  	| z8k-*)
   1.248  		;;
   1.249 +	m32c-*)
   1.250 +		;;
   1.251  	# Recognize the various machine names and aliases which stand
   1.252  	# for a CPU type and a company and sometimes even an OS.
   1.253  	386bsd)
   1.254 @@ -359,6 +389,9 @@
   1.255  		basic_machine=a29k-amd
   1.256  		os=-udi
   1.257  		;;
   1.258 +    	abacus)
   1.259 +		basic_machine=abacus-unknown
   1.260 +		;;
   1.261  	adobe68k)
   1.262  		basic_machine=m68010-adobe
   1.263  		os=-scout
   1.264 @@ -373,6 +406,12 @@
   1.265  		basic_machine=a29k-none
   1.266  		os=-bsd
   1.267  		;;
   1.268 +	amd64)
   1.269 +		basic_machine=x86_64-pc
   1.270 +		;;
   1.271 +	amd64-*)
   1.272 +		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
   1.273 +		;;
   1.274  	amdahl)
   1.275  		basic_machine=580-amdahl
   1.276  		os=-sysv
   1.277 @@ -432,12 +471,27 @@
   1.278  		basic_machine=j90-cray
   1.279  		os=-unicos
   1.280  		;;
   1.281 +	craynv)
   1.282 +		basic_machine=craynv-cray
   1.283 +		os=-unicosmp
   1.284 +		;;
   1.285 +	cr16c)
   1.286 +		basic_machine=cr16c-unknown
   1.287 +		os=-elf
   1.288 +		;;
   1.289  	crds | unos)
   1.290  		basic_machine=m68k-crds
   1.291  		;;
   1.292 +	crisv32 | crisv32-* | etraxfs*)
   1.293 +		basic_machine=crisv32-axis
   1.294 +		;;
   1.295  	cris | cris-* | etrax*)
   1.296  		basic_machine=cris-axis
   1.297  		;;
   1.298 +	crx)
   1.299 +		basic_machine=crx-unknown
   1.300 +		os=-elf
   1.301 +		;;
   1.302  	da30 | da30-*)
   1.303  		basic_machine=m68k-da30
   1.304  		;;
   1.305 @@ -460,6 +514,10 @@
   1.306  		basic_machine=m88k-motorola
   1.307  		os=-sysv3
   1.308  		;;
   1.309 +	djgpp)
   1.310 +		basic_machine=i586-pc
   1.311 +		os=-msdosdjgpp
   1.312 +		;;
   1.313  	dpx20 | dpx20-*)
   1.314  		basic_machine=rs6000-bull
   1.315  		os=-bosx
   1.316 @@ -638,10 +696,6 @@
   1.317  	mips3*)
   1.318  		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
   1.319  		;;
   1.320 -	mmix*)
   1.321 -		basic_machine=mmix-knuth
   1.322 -		os=-mmixware
   1.323 -		;;
   1.324  	monitor)
   1.325  		basic_machine=m68k-rom68k
   1.326  		os=-coff
   1.327 @@ -654,6 +708,9 @@
   1.328  		basic_machine=i386-pc
   1.329  		os=-msdos
   1.330  		;;
   1.331 +	ms1-*)
   1.332 +		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
   1.333 +		;;
   1.334  	mvs)
   1.335  		basic_machine=i370-ibm
   1.336  		os=-mvs
   1.337 @@ -722,10 +779,6 @@
   1.338  	np1)
   1.339  		basic_machine=np1-gould
   1.340  		;;
   1.341 -	nv1)
   1.342 -		basic_machine=nv1-cray
   1.343 -		os=-unicosmp
   1.344 -		;;
   1.345  	nsr-tandem)
   1.346  		basic_machine=nsr-tandem
   1.347  		;;
   1.348 @@ -733,9 +786,12 @@
   1.349  		basic_machine=hppa1.1-oki
   1.350  		os=-proelf
   1.351  		;;
   1.352 -	or32 | or32-*)
   1.353 +	openrisc | openrisc-*)
   1.354  		basic_machine=or32-unknown
   1.355 -		os=-coff
   1.356 +		;;
   1.357 +	os400)
   1.358 +		basic_machine=powerpc-ibm
   1.359 +		os=-os400
   1.360  		;;
   1.361  	OSE68000 | ose68000)
   1.362  		basic_machine=m68000-ericsson
   1.363 @@ -762,24 +818,36 @@
   1.364  	pc532 | pc532-*)
   1.365  		basic_machine=ns32k-pc532
   1.366  		;;
   1.367 +	pc98)
   1.368 +		basic_machine=i386-pc
   1.369 +		;;
   1.370 +	pc98-*)
   1.371 +		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
   1.372 +		;;
   1.373  	pentium | p5 | k5 | k6 | nexgen | viac3)
   1.374  		basic_machine=i586-pc
   1.375  		;;
   1.376  	pentiumpro | p6 | 6x86 | athlon | athlon_*)
   1.377  		basic_machine=i686-pc
   1.378  		;;
   1.379 -	pentiumii | pentium2)
   1.380 +	pentiumii | pentium2 | pentiumiii | pentium3)
   1.381  		basic_machine=i686-pc
   1.382  		;;
   1.383 +	pentium4)
   1.384 +		basic_machine=i786-pc
   1.385 +		;;
   1.386  	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
   1.387  		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
   1.388  		;;
   1.389  	pentiumpro-* | p6-* | 6x86-* | athlon-*)
   1.390  		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
   1.391  		;;
   1.392 -	pentiumii-* | pentium2-*)
   1.393 +	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
   1.394  		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
   1.395  		;;
   1.396 +	pentium4-*)
   1.397 +		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
   1.398 +		;;
   1.399  	pn)
   1.400  		basic_machine=pn-gould
   1.401  		;;
   1.402 @@ -812,6 +880,10 @@
   1.403  		basic_machine=i586-unknown
   1.404  		os=-pw32
   1.405  		;;
   1.406 +	rdos)
   1.407 +		basic_machine=i386-pc
   1.408 +		os=-rdos
   1.409 +		;;
   1.410  	rom68k)
   1.411  		basic_machine=m68k-rom68k
   1.412  		os=-coff
   1.413 @@ -838,6 +910,10 @@
   1.414  	sb1el)
   1.415  		basic_machine=mipsisa64sb1el-unknown
   1.416  		;;
   1.417 +	sei)
   1.418 +		basic_machine=mips-sei
   1.419 +		os=-seiux
   1.420 +		;;
   1.421  	sequent)
   1.422  		basic_machine=i386-sequent
   1.423  		;;
   1.424 @@ -845,6 +921,9 @@
   1.425  		basic_machine=sh-hitachi
   1.426  		os=-hms
   1.427  		;;
   1.428 +	sh64)
   1.429 +		basic_machine=sh64-unknown
   1.430 +		;;
   1.431  	sparclite-wrs | simso-wrs)
   1.432  		basic_machine=sparclite-wrs
   1.433  		os=-vxworks
   1.434 @@ -919,10 +998,6 @@
   1.435  		basic_machine=t90-cray
   1.436  		os=-unicos
   1.437  		;;
   1.438 -        tic4x | c4x*)
   1.439 -		basic_machine=tic4x-unknown
   1.440 -		os=-coff
   1.441 -		;;
   1.442  	tic54x | c54x*)
   1.443  		basic_machine=tic54x-unknown
   1.444  		os=-coff
   1.445 @@ -948,6 +1023,10 @@
   1.446  	tower | tower-32)
   1.447  		basic_machine=m68k-ncr
   1.448  		;;
   1.449 +	tpf)
   1.450 +		basic_machine=s390x-ibm
   1.451 +		os=-tpf
   1.452 +		;;
   1.453  	udi29k)
   1.454  		basic_machine=a29k-amd
   1.455  		os=-udi
   1.456 @@ -991,6 +1070,10 @@
   1.457  		basic_machine=hppa1.1-winbond
   1.458  		os=-proelf
   1.459  		;;
   1.460 +	xbox)
   1.461 +		basic_machine=i686-pc
   1.462 +		os=-mingw32
   1.463 +		;;
   1.464  	xps | xps100)
   1.465  		basic_machine=xps100-honeywell
   1.466  		;;
   1.467 @@ -1021,6 +1104,9 @@
   1.468  	romp)
   1.469  		basic_machine=romp-ibm
   1.470  		;;
   1.471 +	mmix)
   1.472 +		basic_machine=mmix-knuth
   1.473 +		;;
   1.474  	rs6000)
   1.475  		basic_machine=rs6000-ibm
   1.476  		;;
   1.477 @@ -1037,13 +1123,10 @@
   1.478  	we32k)
   1.479  		basic_machine=we32k-att
   1.480  		;;
   1.481 -	sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
   1.482 +	sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
   1.483  		basic_machine=sh-unknown
   1.484  		;;
   1.485 -	sh64)
   1.486 -		basic_machine=sh64-unknown
   1.487 -		;;
   1.488 -	sparc | sparcv9 | sparcv9b)
   1.489 +	sparc | sparcv8 | sparcv9 | sparcv9b)
   1.490  		basic_machine=sparc-sun
   1.491  		;;
   1.492  	cydra)
   1.493 @@ -1116,19 +1199,23 @@
   1.494  	      | -aos* \
   1.495  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
   1.496  	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
   1.497 -	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
   1.498 -	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
   1.499 +	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
   1.500 +	      | -openbsd* | -solidbsd* \
   1.501 +	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
   1.502 +	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
   1.503  	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
   1.504  	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
   1.505  	      | -chorusos* | -chorusrdb* \
   1.506  	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
   1.507 -	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
   1.508 +	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
   1.509 +	      | -uxpv* | -beos* | -mpeix* | -udk* \
   1.510  	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
   1.511  	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
   1.512  	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
   1.513  	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
   1.514  	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
   1.515 -	      | -powermax* | -dnix*)
   1.516 +	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
   1.517 +	      | -skyos* | -haiku* | -rdos*)
   1.518  	# Remember, each alternative MUST END IN *, to match a version number.
   1.519  		;;
   1.520  	-qnx*)
   1.521 @@ -1140,16 +1227,21 @@
   1.522  			;;
   1.523  		esac
   1.524  		;;
   1.525 +	-nto-qnx*)
   1.526 +		;;
   1.527  	-nto*)
   1.528 -		os=-nto-qnx
   1.529 +		os=`echo $os | sed -e 's|nto|nto-qnx|'`
   1.530  		;;
   1.531  	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
   1.532 -	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
   1.533 +	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
   1.534  	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
   1.535  		;;
   1.536  	-mac*)
   1.537  		os=`echo $os | sed -e 's|mac|macos|'`
   1.538  		;;
   1.539 +	-linux-dietlibc)
   1.540 +		os=-linux-dietlibc
   1.541 +		;;
   1.542  	-linux*)
   1.543  		os=`echo $os | sed -e 's|linux|linux-gnu|'`
   1.544  		;;
   1.545 @@ -1162,6 +1254,9 @@
   1.546  	-opened*)
   1.547  		os=-openedition
   1.548  		;;
   1.549 +        -os400*)
   1.550 +		os=-os400
   1.551 +		;;
   1.552  	-wince*)
   1.553  		os=-wince
   1.554  		;;
   1.555 @@ -1183,6 +1278,9 @@
   1.556  	-atheos*)
   1.557  		os=-atheos
   1.558  		;;
   1.559 +	-syllable*)
   1.560 +		os=-syllable
   1.561 +		;;
   1.562  	-386bsd)
   1.563  		os=-bsd
   1.564  		;;
   1.565 @@ -1205,6 +1303,9 @@
   1.566  	-sinix*)
   1.567  		os=-sysv4
   1.568  		;;
   1.569 +        -tpf*)
   1.570 +		os=-tpf
   1.571 +		;;
   1.572  	-triton*)
   1.573  		os=-sysv3
   1.574  		;;
   1.575 @@ -1241,6 +1342,9 @@
   1.576  	-kaos*)
   1.577  		os=-kaos
   1.578  		;;
   1.579 +	-zvmoe)
   1.580 +		os=-zvmoe
   1.581 +		;;
   1.582  	-none)
   1.583  		;;
   1.584  	*)
   1.585 @@ -1272,6 +1376,9 @@
   1.586  	arm*-semi)
   1.587  		os=-aout
   1.588  		;;
   1.589 +    c4x-* | tic4x-*)
   1.590 +        os=-coff
   1.591 +        ;;
   1.592  	# This must come before the *-dec entry.
   1.593  	pdp10-*)
   1.594  		os=-tops20
   1.595 @@ -1315,9 +1422,15 @@
   1.596  	*-be)
   1.597  		os=-beos
   1.598  		;;
   1.599 +	*-haiku)
   1.600 +		os=-haiku
   1.601 +		;;
   1.602  	*-ibm)
   1.603  		os=-aix
   1.604  		;;
   1.605 +    	*-knuth)
   1.606 +		os=-mmixware
   1.607 +		;;
   1.608  	*-wec)
   1.609  		os=-proelf
   1.610  		;;
   1.611 @@ -1450,9 +1563,15 @@
   1.612  			-mvs* | -opened*)
   1.613  				vendor=ibm
   1.614  				;;
   1.615 +			-os400*)
   1.616 +				vendor=ibm
   1.617 +				;;
   1.618  			-ptx*)
   1.619  				vendor=sequent
   1.620  				;;
   1.621 +			-tpf*)
   1.622 +				vendor=ibm
   1.623 +				;;
   1.624  			-vxsim* | -vxworks* | -windiss*)
   1.625  				vendor=wrs
   1.626  				;;
   1.627 @@ -1477,7 +1596,7 @@
   1.628  esac
   1.629  
   1.630  echo $basic_machine$os
   1.631 -exit 0
   1.632 +exit
   1.633  
   1.634  # Local variables:
   1.635  # eval: (add-hook 'write-file-hooks 'time-stamp)