build-scripts/config.sub
changeset 3086 0102ed19c21a
parent 2294 386ebf50dd91
child 3353 6b14223dd5c7
     1.1 --- a/build-scripts/config.sub	Wed Mar 04 08:57:30 2009 +0000
     1.2 +++ b/build-scripts/config.sub	Wed Mar 04 09:35:32 2009 +0000
     1.3 @@ -1,10 +1,10 @@
     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, 2004, 2005, 2006 Free Software Foundation,
     1.8 -#   Inc.
     1.9 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
    1.10 +#   Free Software Foundation, Inc.
    1.11  
    1.12 -timestamp='2007-12-05'
    1.13 +timestamp='2009-02-03'
    1.14  
    1.15  # This file is (in principle) common to ALL GNU software.
    1.16  # The presence of a machine in this file suggests that SOME GNU software
    1.17 @@ -72,8 +72,8 @@
    1.18  version="\
    1.19  GNU config.sub ($timestamp)
    1.20  
    1.21 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    1.22 -Free Software Foundation, Inc.
    1.23 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
    1.24 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    1.25  
    1.26  This is free software; see the source for copying conditions.  There is NO
    1.27  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
    1.28 @@ -122,6 +122,7 @@
    1.29  case $maybe_os in
    1.30    nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
    1.31    uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
    1.32 +  kopensolaris*-gnu* | \
    1.33    storm-chaos* | os2-emx* | rtmk-nova*)
    1.34      os=-$maybe_os
    1.35      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    1.36 @@ -249,13 +250,16 @@
    1.37  	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    1.38  	| i370 | i860 | i960 | ia64 \
    1.39  	| ip2k | iq2000 \
    1.40 +	| lm32 \
    1.41  	| m32c | m32r | m32rle | m68000 | m68k | m88k \
    1.42 -	| maxq | mb | microblaze | mcore | mep \
    1.43 +	| maxq | mb | microblaze | mcore | mep | metag \
    1.44  	| mips | mipsbe | mipseb | mipsel | mipsle \
    1.45  	| mips16 \
    1.46  	| mips64 | mips64el \
    1.47 +	| mips64octeon | mips64octeonel \
    1.48 +	| mips64orion | mips64orionel \
    1.49 +	| mips64r5900 | mips64r5900el \
    1.50  	| mips64vr | mips64vrel \
    1.51 -	| mips64orion | mips64orionel \
    1.52  	| mips64vr4100 | mips64vr4100el \
    1.53  	| mips64vr4300 | mips64vr4300el \
    1.54  	| mips64vr5000 | mips64vr5000el \
    1.55 @@ -277,7 +281,7 @@
    1.56  	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
    1.57  	| pyramid \
    1.58  	| score \
    1.59 -	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    1.60 +	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    1.61  	| sh64 | sh64le \
    1.62  	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
    1.63  	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
    1.64 @@ -286,7 +290,7 @@
    1.65  	| v850 | v850e \
    1.66  	| we32k \
    1.67  	| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
    1.68 -	| z8k)
    1.69 +	| z8k | z80)
    1.70  		basic_machine=$basic_machine-unknown
    1.71  		;;
    1.72  	m6811 | m68hc11 | m6812 | m68hc12)
    1.73 @@ -329,14 +333,17 @@
    1.74  	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
    1.75  	| i*86-* | i860-* | i960-* | ia64-* \
    1.76  	| ip2k-* | iq2000-* \
    1.77 +	| lm32-* \
    1.78  	| m32c-* | m32r-* | m32rle-* \
    1.79  	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    1.80 -	| m88110-* | m88k-* | maxq-* | mcore-* \
    1.81 +	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
    1.82  	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
    1.83  	| mips16-* \
    1.84  	| mips64-* | mips64el-* \
    1.85 +	| mips64octeon-* | mips64octeonel-* \
    1.86 +	| mips64orion-* | mips64orionel-* \
    1.87 +	| mips64r5900-* | mips64r5900el-* \
    1.88  	| mips64vr-* | mips64vrel-* \
    1.89 -	| mips64orion-* | mips64orionel-* \
    1.90  	| mips64vr4100-* | mips64vr4100el-* \
    1.91  	| mips64vr4300-* | mips64vr4300el-* \
    1.92  	| mips64vr5000-* | mips64vr5000el-* \
    1.93 @@ -358,20 +365,20 @@
    1.94  	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
    1.95  	| pyramid-* \
    1.96  	| romp-* | rs6000-* \
    1.97 -	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    1.98 +	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    1.99  	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
   1.100  	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
   1.101  	| sparclite-* \
   1.102  	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
   1.103  	| tahoe-* | thumb-* \
   1.104 -	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
   1.105 +	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
   1.106  	| tron-* \
   1.107  	| v850-* | v850e-* | vax-* \
   1.108  	| we32k-* \
   1.109  	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
   1.110  	| xstormy16-* | xtensa*-* \
   1.111  	| ymp-* \
   1.112 -	| z8k-*)
   1.113 +	| z8k-* | z80-*)
   1.114  		;;
   1.115  	# Recognize the basic CPU types without company name, with glob match.
   1.116  	xtensa*)
   1.117 @@ -439,6 +446,10 @@
   1.118  		basic_machine=m68k-apollo
   1.119  		os=-bsd
   1.120  		;;
   1.121 +	aros)
   1.122 +		basic_machine=i386-pc
   1.123 +		os=-aros
   1.124 +		;;
   1.125  	aux)
   1.126  		basic_machine=m68k-apple
   1.127  		os=-aux
   1.128 @@ -459,6 +470,10 @@
   1.129  		basic_machine=c90-cray
   1.130  		os=-unicos
   1.131  		;;
   1.132 +        cegcc)
   1.133 +		basic_machine=arm-unknown
   1.134 +		os=-cegcc
   1.135 +		;;
   1.136  	convex-c1)
   1.137  		basic_machine=c1-convex
   1.138  		os=-bsd
   1.139 @@ -526,6 +541,10 @@
   1.140  		basic_machine=m88k-motorola
   1.141  		os=-sysv3
   1.142  		;;
   1.143 +	dicos)
   1.144 +		basic_machine=i686-pc
   1.145 +		os=-dicos
   1.146 +		;;
   1.147  	djgpp)
   1.148  		basic_machine=i586-pc
   1.149  		os=-msdosdjgpp
   1.150 @@ -1049,6 +1068,10 @@
   1.151  		basic_machine=tic6x-unknown
   1.152  		os=-coff
   1.153  		;;
   1.154 +	tile*)
   1.155 +		basic_machine=tile-unknown
   1.156 +		os=-linux-gnu
   1.157 +		;;
   1.158  	tx39)
   1.159  		basic_machine=mipstx39-unknown
   1.160  		;;
   1.161 @@ -1124,6 +1147,10 @@
   1.162  		basic_machine=z8k-unknown
   1.163  		os=-sim
   1.164  		;;
   1.165 +	z80-*-coff)
   1.166 +		basic_machine=z80-unknown
   1.167 +		os=-sim
   1.168 +		;;
   1.169  	none)
   1.170  		basic_machine=none-none
   1.171  		os=-none
   1.172 @@ -1162,7 +1189,7 @@
   1.173  	we32k)
   1.174  		basic_machine=we32k-att
   1.175  		;;
   1.176 -	sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
   1.177 +	sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
   1.178  		basic_machine=sh-unknown
   1.179  		;;
   1.180  	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
   1.181 @@ -1234,8 +1261,9 @@
   1.182  	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
   1.183  	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
   1.184  	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
   1.185 +	      | -kopensolaris* \
   1.186  	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
   1.187 -	      | -aos* \
   1.188 +	      | -aos* | -aros* \
   1.189  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
   1.190  	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
   1.191  	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
   1.192 @@ -1244,7 +1272,7 @@
   1.193  	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
   1.194  	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
   1.195  	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
   1.196 -	      | -chorusos* | -chorusrdb* \
   1.197 +	      | -chorusos* | -chorusrdb* | -cegcc* \
   1.198  	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
   1.199  	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
   1.200  	      | -uxpv* | -beos* | -mpeix* | -udk* \
   1.201 @@ -1384,6 +1412,9 @@
   1.202  	-zvmoe)
   1.203  		os=-zvmoe
   1.204  		;;
   1.205 +	-dicos*)
   1.206 +		os=-dicos
   1.207 +		;;
   1.208  	-none)
   1.209  		;;
   1.210  	*)