Update tools/config.{guess,sub}.
/trunk/tools/config.guess | 38 24 14 0 ++++++++++++++++++++-----------
/trunk/tools/config.sub | 65 54 11 0 ++++++++++++++++++++++++++++++++++++++++++++---------
2 files changed, 78 insertions(+), 25 deletions(-)
1.1 --- a/tools/config.guess Thu May 08 15:36:51 2008 +0000
1.2 +++ b/tools/config.guess Thu May 08 15:37:21 2008 +0000
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 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-07-22'
1.13 +timestamp='2008-04-14'
1.14
1.15 # This file is free software; you can redistribute it and/or modify it
1.16 # under the terms of the GNU General Public License as published by
1.17 @@ -56,8 +56,8 @@
1.18 GNU config.guess ($timestamp)
1.19
1.20 Originally written by Per Bothner.
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 @@ -532,7 +532,7 @@
1.29 echo rs6000-ibm-aix3.2
1.30 fi
1.31 exit ;;
1.32 - *:AIX:*:[45])
1.33 + *:AIX:*:[456])
1.34 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
1.35 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
1.36 IBM_ARCH=rs6000
1.37 @@ -799,6 +799,9 @@
1.38 EM64T | authenticamd)
1.39 echo x86_64-unknown-interix${UNAME_RELEASE}
1.40 exit ;;
1.41 + IA64)
1.42 + echo ia64-unknown-interix${UNAME_RELEASE}
1.43 + exit ;;
1.44 esac ;;
1.45 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
1.46 echo i${UNAME_MACHINE}-pc-mks
1.47 @@ -833,7 +836,14 @@
1.48 echo ${UNAME_MACHINE}-pc-minix
1.49 exit ;;
1.50 arm*:Linux:*:*)
1.51 - echo ${UNAME_MACHINE}-unknown-linux-gnu
1.52 + eval $set_cc_for_build
1.53 + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
1.54 + | grep -q __ARM_EABI__
1.55 + then
1.56 + echo ${UNAME_MACHINE}-unknown-linux-gnu
1.57 + else
1.58 + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
1.59 + fi
1.60 exit ;;
1.61 avr32*:Linux:*:*)
1.62 echo ${UNAME_MACHINE}-unknown-linux-gnu
1.63 @@ -954,8 +964,8 @@
1.64 x86_64:Linux:*:*)
1.65 echo x86_64-unknown-linux-gnu
1.66 exit ;;
1.67 - xtensa:Linux:*:*)
1.68 - echo xtensa-unknown-linux-gnu
1.69 + xtensa*:Linux:*:*)
1.70 + echo ${UNAME_MACHINE}-unknown-linux-gnu
1.71 exit ;;
1.72 i*86:Linux:*:*)
1.73 # The BFD linker knows what the default object file format is, so
1.74 @@ -975,9 +985,6 @@
1.75 a.out-i386-linux)
1.76 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
1.77 exit ;;
1.78 - coff-i386)
1.79 - echo "${UNAME_MACHINE}-pc-linux-gnucoff"
1.80 - exit ;;
1.81 "")
1.82 # Either a pre-BFD a.out linker (linux-gnuoldld) or
1.83 # one that does not give us useful --help.
1.84 @@ -1206,6 +1213,9 @@
1.85 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1.86 echo i586-pc-beos
1.87 exit ;;
1.88 + BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1.89 + echo i586-pc-haiku
1.90 + exit ;;
1.91 SX-4:SUPER-UX:*:*)
1.92 echo sx4-nec-superux${UNAME_RELEASE}
1.93 exit ;;
1.94 @@ -1474,9 +1484,9 @@
1.95 the operating system you are using. It is advised that you
1.96 download the most up to date version of the config scripts from
1.97
1.98 - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1.99 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1.100 and
1.101 - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1.102 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1.103
1.104 If the version you run ($0) is already up to date, please
1.105 send the following data and any information you think might be
2.1 --- a/tools/config.sub Thu May 08 15:36:51 2008 +0000
2.2 +++ b/tools/config.sub Thu May 08 15:37:21 2008 +0000
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 Free Software Foundation,
2.8 -# Inc.
2.9 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
2.10 +# Free Software Foundation, Inc.
2.11
2.12 -timestamp='2007-06-28'
2.13 +timestamp='2008-04-14'
2.14
2.15 # This file is (in principle) common to ALL GNU software.
2.16 # The presence of a machine in this file suggests that SOME GNU software
2.17 @@ -72,8 +72,8 @@
2.18 version="\
2.19 GNU config.sub ($timestamp)
2.20
2.21 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
2.22 -Free Software Foundation, Inc.
2.23 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2.24 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free 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 @@ -250,12 +250,14 @@
2.29 | i370 | i860 | i960 | ia64 \
2.30 | ip2k | iq2000 \
2.31 | m32c | m32r | m32rle | m68000 | m68k | m88k \
2.32 - | maxq | mb | microblaze | mcore | mep \
2.33 + | maxq | mb | microblaze | mcore | mep | metag \
2.34 | mips | mipsbe | mipseb | mipsel | mipsle \
2.35 | mips16 \
2.36 | mips64 | mips64el \
2.37 + | mips64octeon | mips64octeonel \
2.38 + | mips64orion | mips64orionel \
2.39 + | mips64r5900 | mips64r5900el \
2.40 | mips64vr | mips64vrel \
2.41 - | mips64orion | mips64orionel \
2.42 | mips64vr4100 | mips64vr4100el \
2.43 | mips64vr4300 | mips64vr4300el \
2.44 | mips64vr5000 | mips64vr5000el \
2.45 @@ -331,12 +333,14 @@
2.46 | ip2k-* | iq2000-* \
2.47 | m32c-* | m32r-* | m32rle-* \
2.48 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
2.49 - | m88110-* | m88k-* | maxq-* | mcore-* \
2.50 + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
2.51 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
2.52 | mips16-* \
2.53 | mips64-* | mips64el-* \
2.54 + | mips64octeon-* | mips64octeonel-* \
2.55 + | mips64orion-* | mips64orionel-* \
2.56 + | mips64r5900-* | mips64r5900el-* \
2.57 | mips64vr-* | mips64vrel-* \
2.58 - | mips64orion-* | mips64orionel-* \
2.59 | mips64vr4100-* | mips64vr4100el-* \
2.60 | mips64vr4300-* | mips64vr4300el-* \
2.61 | mips64vr5000-* | mips64vr5000el-* \
2.62 @@ -364,15 +368,19 @@
2.63 | sparclite-* \
2.64 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
2.65 | tahoe-* | thumb-* \
2.66 - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
2.67 + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
2.68 | tron-* \
2.69 | v850-* | v850e-* | vax-* \
2.70 | we32k-* \
2.71 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
2.72 - | xstormy16-* | xtensa-* \
2.73 + | xstormy16-* | xtensa*-* \
2.74 | ymp-* \
2.75 | z8k-*)
2.76 ;;
2.77 + # Recognize the basic CPU types without company name, with glob match.
2.78 + xtensa*)
2.79 + basic_machine=$basic_machine-unknown
2.80 + ;;
2.81 # Recognize the various machine names and aliases which stand
2.82 # for a CPU type and a company and sometimes even an OS.
2.83 386bsd)
2.84 @@ -443,6 +451,14 @@
2.85 basic_machine=ns32k-sequent
2.86 os=-dynix
2.87 ;;
2.88 + blackfin)
2.89 + basic_machine=bfin-unknown
2.90 + os=-linux
2.91 + ;;
2.92 + blackfin-*)
2.93 + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
2.94 + os=-linux
2.95 + ;;
2.96 c90)
2.97 basic_machine=c90-cray
2.98 os=-unicos
2.99 @@ -514,6 +530,10 @@
2.100 basic_machine=m88k-motorola
2.101 os=-sysv3
2.102 ;;
2.103 + dicos)
2.104 + basic_machine=i686-pc
2.105 + os=-dicos
2.106 + ;;
2.107 djgpp)
2.108 basic_machine=i586-pc
2.109 os=-msdosdjgpp
2.110 @@ -668,6 +688,14 @@
2.111 basic_machine=m68k-isi
2.112 os=-sysv
2.113 ;;
2.114 + m68knommu)
2.115 + basic_machine=m68k-unknown
2.116 + os=-linux
2.117 + ;;
2.118 + m68knommu-*)
2.119 + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
2.120 + os=-linux
2.121 + ;;
2.122 m88k-omron*)
2.123 basic_machine=m88k-omron
2.124 ;;
2.125 @@ -813,6 +841,14 @@
2.126 basic_machine=i860-intel
2.127 os=-osf
2.128 ;;
2.129 + parisc)
2.130 + basic_machine=hppa-unknown
2.131 + os=-linux
2.132 + ;;
2.133 + parisc-*)
2.134 + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
2.135 + os=-linux
2.136 + ;;
2.137 pbd)
2.138 basic_machine=sparc-tti
2.139 ;;
2.140 @@ -1021,6 +1057,10 @@
2.141 basic_machine=tic6x-unknown
2.142 os=-coff
2.143 ;;
2.144 + tile*)
2.145 + basic_machine=tile-unknown
2.146 + os=-linux-gnu
2.147 + ;;
2.148 tx39)
2.149 basic_machine=mipstx39-unknown
2.150 ;;
2.151 @@ -1356,6 +1396,9 @@
2.152 -zvmoe)
2.153 os=-zvmoe
2.154 ;;
2.155 + -dicos*)
2.156 + os=-dicos
2.157 + ;;
2.158 -none)
2.159 ;;
2.160 *)