scripts: update config.{guess,sub}
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jul 07 10:17:34 2011 +0200 (2011-07-07)
changeset 2538b926c87d9339
parent 2537 95d470b5a6a9
child 2539 e32f4809a267
scripts: update config.{guess,sub}

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
scripts/config.guess
scripts/config.sub
     1.1 --- a/scripts/config.guess	Sun Jul 03 23:02:16 2011 +0200
     1.2 +++ b/scripts/config.guess	Thu Jul 07 10:17:34 2011 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     1.5  #   2011 Free Software Foundation, Inc.
     1.6  
     1.7 -timestamp='2011-02-02'
     1.8 +timestamp='2011-06-03'
     1.9  
    1.10  # This file is free software; you can redistribute it and/or modify it
    1.11  # under the terms of the GNU General Public License as published by
    1.12 @@ -882,7 +882,13 @@
    1.13  	then
    1.14  	    echo ${UNAME_MACHINE}-unknown-linux-gnu
    1.15  	else
    1.16 -	    echo ${UNAME_MACHINE}-unknown-linux-gnueabi
    1.17 +	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
    1.18 +		| grep -q __ARM_PCS_VFP
    1.19 +	    then
    1.20 +		echo ${UNAME_MACHINE}-unknown-linux-gnueabi
    1.21 +	    else
    1.22 +		echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
    1.23 +	    fi
    1.24  	fi
    1.25  	exit ;;
    1.26      avr32*:Linux:*:*)
    1.27 @@ -972,7 +978,7 @@
    1.28  	echo ${UNAME_MACHINE}-unknown-linux-gnu
    1.29  	exit ;;
    1.30      tile*:Linux:*:*)
    1.31 -	echo ${UNAME_MACHINE}-tilera-linux-gnu
    1.32 +	echo ${UNAME_MACHINE}-unknown-linux-gnu
    1.33  	exit ;;
    1.34      vax:Linux:*:*)
    1.35  	echo ${UNAME_MACHINE}-dec-linux-gnu
     2.1 --- a/scripts/config.sub	Sun Jul 03 23:02:16 2011 +0200
     2.2 +++ b/scripts/config.sub	Thu Jul 07 10:17:34 2011 +0200
     2.3 @@ -4,7 +4,7 @@
     2.4  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     2.5  #   2011 Free Software Foundation, Inc.
     2.6  
     2.7 -timestamp='2011-03-23'
     2.8 +timestamp='2011-06-03'
     2.9  
    2.10  # This file is (in principle) common to ALL GNU software.
    2.11  # The presence of a machine in this file suggests that SOME GNU software
    2.12 @@ -300,7 +300,7 @@
    2.13  	| spu \
    2.14  	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
    2.15  	| ubicom32 \
    2.16 -	| v850 | v850e \
    2.17 +	| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
    2.18  	| we32k \
    2.19  	| x86 | xc16x | xstormy16 | xtensa \
    2.20  	| z8k | z80)
    2.21 @@ -408,10 +408,11 @@
    2.22  	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
    2.23  	| tahoe-* \
    2.24  	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
    2.25 -	| tile-* | tilegx-* \
    2.26 +	| tile*-* \
    2.27  	| tron-* \
    2.28  	| ubicom32-* \
    2.29 -	| v850-* | v850e-* | vax-* \
    2.30 +	| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
    2.31 +	| vax-* \
    2.32  	| we32k-* \
    2.33  	| x86-* | x86_64-* | xc16x-* | xps100-* \
    2.34  	| xstormy16-* | xtensa*-* \
    2.35 @@ -1120,13 +1121,8 @@
    2.36  		basic_machine=t90-cray
    2.37  		os=-unicos
    2.38  		;;
    2.39 -	# This must be matched before tile*.
    2.40 -	tilegx*)
    2.41 -		basic_machine=tilegx-unknown
    2.42 -		os=-linux-gnu
    2.43 -		;;
    2.44  	tile*)
    2.45 -		basic_machine=tile-unknown
    2.46 +		basic_machine=$basic_machine-unknown
    2.47  		os=-linux-gnu
    2.48  		;;
    2.49  	tx39)