scripts: update config.{guess,sub}
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Oct 06 00:09:00 2011 +0200 (2011-10-06)
changeset 26987501f41e3bbf
parent 2697 9cd87d279a99
child 2699 28a97cb454e2
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	Wed Oct 05 14:15:45 2011 +1300
     1.2 +++ b/scripts/config.guess	Thu Oct 06 00:09:00 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-06-03'
     1.8 +timestamp='2011-10-01'
     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 @@ -792,13 +792,12 @@
    1.13  	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
    1.14  	exit ;;
    1.15      *:FreeBSD:*:*)
    1.16 -	case ${UNAME_MACHINE} in
    1.17 -	    pc98)
    1.18 -		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.19 +	UNAME_PROCESSOR=`/usr/bin/uname -p`
    1.20 +	case ${UNAME_PROCESSOR} in
    1.21  	    amd64)
    1.22  		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.23  	    *)
    1.24 -		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.25 +		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    1.26  	esac
    1.27  	exit ;;
    1.28      i*:CYGWIN*:*)
    1.29 @@ -903,6 +902,9 @@
    1.30      frv:Linux:*:*)
    1.31  	echo frv-unknown-linux-gnu
    1.32  	exit ;;
    1.33 +    hexagon:Linux:*:*)
    1.34 +	echo hexagon-unknown-linux-gnu
    1.35 +	exit ;;
    1.36      i*86:Linux:*:*)
    1.37  	LIBC=gnu
    1.38  	eval $set_cc_for_build
     2.1 --- a/scripts/config.sub	Wed Oct 05 14:15:45 2011 +1300
     2.2 +++ b/scripts/config.sub	Thu Oct 06 00:09:00 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-06-03'
     2.8 +timestamp='2011-09-09'
     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 @@ -251,13 +251,16 @@
    2.13  	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
    2.14  	| am33_2.0 \
    2.15  	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
    2.16 +        | be32 | be64 \
    2.17  	| bfin \
    2.18  	| c4x | clipper \
    2.19  	| d10v | d30v | dlx | dsp16xx \
    2.20  	| fido | fr30 | frv \
    2.21  	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    2.22 +	| hexagon \
    2.23  	| i370 | i860 | i960 | ia64 \
    2.24  	| ip2k | iq2000 \
    2.25 +	| le32 | le64 \
    2.26  	| lm32 \
    2.27  	| m32c | m32r | m32rle | m68000 | m68k | m88k \
    2.28  	| maxq | mb | microblaze | mcore | mep | metag \
    2.29 @@ -357,6 +360,7 @@
    2.30  	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
    2.31  	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    2.32  	| avr-* | avr32-* \
    2.33 +	| be32-* | be64-* \
    2.34  	| bfin-* | bs2000-* \
    2.35  	| c[123]* | c30-* | [cjt]90-* | c4x-* \
    2.36  	| clipper-* | craynv-* | cydra-* \
    2.37 @@ -365,8 +369,10 @@
    2.38  	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
    2.39  	| h8300-* | h8500-* \
    2.40  	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
    2.41 +	| hexagon-* \
    2.42  	| i*86-* | i860-* | i960-* | ia64-* \
    2.43  	| ip2k-* | iq2000-* \
    2.44 +	| le32-* | le64-* \
    2.45  	| lm32-* \
    2.46  	| m32c-* | m32r-* | m32rle-* \
    2.47  	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    2.48 @@ -813,6 +819,10 @@
    2.49  		basic_machine=i370-ibm
    2.50  		os=-mvs
    2.51  		;;
    2.52 +	nacl)
    2.53 +		basic_machine=le32-unknown
    2.54 +		os=-nacl
    2.55 +		;;
    2.56  	ncr3000)
    2.57  		basic_machine=i486-ncr
    2.58  		os=-sysv4