scripts: update config.{guess,sub}
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jul 15 10:18:40 2010 +0200 (2010-07-15)
changeset 2025b38f4954e4ed
parent 2024 14ba919e8567
child 2026 a8a4d5c97738
scripts: update config.{guess,sub}
scripts/config.guess
scripts/config.sub
     1.1 --- a/scripts/config.guess	Wed Jul 14 19:11:40 2010 +0200
     1.2 +++ b/scripts/config.guess	Thu Jul 15 10:18:40 2010 +0200
     1.3 @@ -1,10 +1,10 @@
     1.4  #! /bin/sh
     1.5  # Attempt to guess a canonical system name.
     1.6  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     1.7 -#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
     1.8 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
     1.9  #   Free Software Foundation, Inc.
    1.10  
    1.11 -timestamp='2009-11-19'
    1.12 +timestamp='2010-04-03'
    1.13  
    1.14  # This file is free software; you can redistribute it and/or modify it
    1.15  # under the terms of the GNU General Public License as published by
    1.16 @@ -56,8 +56,9 @@
    1.17  GNU config.guess ($timestamp)
    1.18  
    1.19  Originally written by Per Bothner.
    1.20 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
    1.21 -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    1.22 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
    1.23 +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
    1.24 +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 @@ -91,7 +92,7 @@
    1.29    exit 1
    1.30  fi
    1.31  
    1.32 -trap 'exit 1' 1 2 15
    1.33 +trap 'exit 1' HUP INT TERM
    1.34  
    1.35  # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
    1.36  # compiler to aid in system detection is discouraged as it requires
    1.37 @@ -105,7 +106,7 @@
    1.38  
    1.39  set_cc_for_build='
    1.40  trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
    1.41 -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
    1.42 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ;
    1.43  : ${TMPDIR=/tmp} ;
    1.44   { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
    1.45   { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
    1.46 @@ -333,6 +334,9 @@
    1.47      sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
    1.48  	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    1.49  	exit ;;
    1.50 +    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
    1.51 +	echo i386-pc-auroraux${UNAME_RELEASE}
    1.52 +	exit ;;
    1.53      i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
    1.54  	eval $set_cc_for_build
    1.55  	SUN_ARCH="i386"
     2.1 --- a/scripts/config.sub	Wed Jul 14 19:11:40 2010 +0200
     2.2 +++ b/scripts/config.sub	Thu Jul 15 10:18:40 2010 +0200
     2.3 @@ -1,10 +1,10 @@
     2.4  #! /bin/sh
     2.5  # Configuration validation subroutine script.
     2.6  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     2.7 -#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
     2.8 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
     2.9  #   Free Software Foundation, Inc.
    2.10  
    2.11 -timestamp='2009-11-07'
    2.12 +timestamp='2010-05-21'
    2.13  
    2.14  # This file is (in principle) common to ALL GNU software.
    2.15  # The presence of a machine in this file suggests that SOME GNU software
    2.16 @@ -75,8 +75,9 @@
    2.17  version="\
    2.18  GNU config.sub ($timestamp)
    2.19  
    2.20 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
    2.21 -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    2.22 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
    2.23 +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
    2.24 +Software Foundation, Inc.
    2.25  
    2.26  This is free software; see the source for copying conditions.  There is NO
    2.27  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
    2.28 @@ -123,8 +124,9 @@
    2.29  # Here we must recognize all the valid KERNEL-OS combinations.
    2.30  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
    2.31  case $maybe_os in
    2.32 -  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
    2.33 -  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
    2.34 +  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
    2.35 +  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
    2.36 +  knetbsd*-gnu* | netbsd*-gnu* | \
    2.37    kopensolaris*-gnu* | \
    2.38    storm-chaos* | os2-emx* | rtmk-nova*)
    2.39      os=-$maybe_os
    2.40 @@ -294,7 +296,7 @@
    2.41  	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
    2.42  	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
    2.43  	| spu | strongarm \
    2.44 -	| tahoe | thumb | tic4x | tic80 | tron \
    2.45 +	| tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
    2.46  	| ubicom32 \
    2.47  	| v850 | v850e \
    2.48  	| we32k \
    2.49 @@ -302,6 +304,15 @@
    2.50  	| z8k | z80)
    2.51  		basic_machine=$basic_machine-unknown
    2.52  		;;
    2.53 +	c54x)
    2.54 +		basic_machine=tic54x-unknown
    2.55 +		;;
    2.56 +	c55x)
    2.57 +		basic_machine=tic55x-unknown
    2.58 +		;;
    2.59 +	c6x)
    2.60 +		basic_machine=tic6x-unknown
    2.61 +		;;
    2.62  	m6811 | m68hc11 | m6812 | m68hc12 | picochip)
    2.63  		# Motorola 68HC11/12.
    2.64  		basic_machine=$basic_machine-unknown
    2.65 @@ -333,7 +344,7 @@
    2.66  	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    2.67  	| avr-* | avr32-* \
    2.68  	| bfin-* | bs2000-* \
    2.69 -	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
    2.70 +	| c[123]* | c30-* | [cjt]90-* | c4x-* \
    2.71  	| clipper-* | craynv-* | cydra-* \
    2.72  	| d10v-* | d30v-* | dlx-* \
    2.73  	| elxsi-* \
    2.74 @@ -380,7 +391,8 @@
    2.75  	| sparclite-* \
    2.76  	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
    2.77  	| tahoe-* | thumb-* \
    2.78 -	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
    2.79 +	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
    2.80 +	| tile-* | tilegx-* \
    2.81  	| tron-* \
    2.82  	| ubicom32-* \
    2.83  	| v850-* | v850e-* | vax-* \
    2.84 @@ -480,6 +492,15 @@
    2.85  		basic_machine=powerpc-ibm
    2.86  		os=-cnk
    2.87  		;;
    2.88 +	c54x-*)
    2.89 +		basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
    2.90 +		;;
    2.91 +	c55x-*)
    2.92 +		basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
    2.93 +		;;
    2.94 +	c6x-*)
    2.95 +		basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
    2.96 +		;;
    2.97  	c90)
    2.98  		basic_machine=c90-cray
    2.99  		os=-unicos
   2.100 @@ -1073,17 +1094,10 @@
   2.101  		basic_machine=t90-cray
   2.102  		os=-unicos
   2.103  		;;
   2.104 -	tic54x | c54x*)
   2.105 -		basic_machine=tic54x-unknown
   2.106 -		os=-coff
   2.107 -		;;
   2.108 -	tic55x | c55x*)
   2.109 -		basic_machine=tic55x-unknown
   2.110 -		os=-coff
   2.111 -		;;
   2.112 -	tic6x | c6x*)
   2.113 -		basic_machine=tic6x-unknown
   2.114 -		os=-coff
   2.115 +        # This must be matched before tile*.
   2.116 +        tilegx*)
   2.117 +		basic_machine=tilegx-unknown
   2.118 +		os=-linux-gnu
   2.119  		;;
   2.120  	tile*)
   2.121  		basic_machine=tile-unknown
   2.122 @@ -1256,6 +1270,9 @@
   2.123          # First match some system type aliases
   2.124          # that might get confused with valid system types.
   2.125  	# -solaris* is a basic system type, with this one exception.
   2.126 +        -auroraux)
   2.127 +	        os=-auroraux
   2.128 +		;;
   2.129  	-solaris1 | -solaris1.*)
   2.130  		os=`echo $os | sed -e 's|solaris1|sunos4|'`
   2.131  		;;
   2.132 @@ -1277,8 +1294,8 @@
   2.133  	# -sysv* is not here because it comes later, after sysvr4.
   2.134  	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
   2.135  	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
   2.136 -	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
   2.137 -	      | -kopensolaris* \
   2.138 +	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
   2.139 +	      | -sym* | -kopensolaris* \
   2.140  	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
   2.141  	      | -aos* | -aros* \
   2.142  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
   2.143 @@ -1291,7 +1308,8 @@
   2.144  	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
   2.145  	      | -chorusos* | -chorusrdb* | -cegcc* \
   2.146  	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
   2.147 -	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
   2.148 +	      | -mingw32* | -linux-gnu* | -linux-android* \
   2.149 +	      | -linux-newlib* | -linux-uclibc* \
   2.150  	      | -uxpv* | -beos* | -mpeix* | -udk* \
   2.151  	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
   2.152  	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
   2.153 @@ -1432,6 +1450,8 @@
   2.154  	-dicos*)
   2.155  		os=-dicos
   2.156  		;;
   2.157 +        -nacl*)
   2.158 +	        ;;
   2.159  	-none)
   2.160  		;;
   2.161  	*)
   2.162 @@ -1472,6 +1492,15 @@
   2.163          c4x-* | tic4x-*)
   2.164          	os=-coff
   2.165  		;;
   2.166 +	tic54x-*)
   2.167 +		os=-coff
   2.168 +		;;
   2.169 +	tic55x-*)
   2.170 +		os=-coff
   2.171 +		;;
   2.172 +	tic6x-*)
   2.173 +		os=-coff
   2.174 +		;;
   2.175  	# This must come before the *-dec entry.
   2.176  	pdp10-*)
   2.177  		os=-tops20