1.1 --- a/tools/config.sub Sat Jul 14 10:25:16 2007 +0000
1.2 +++ b/tools/config.sub Tue Jun 17 22:26:44 2008 +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-06-28'
1.13 +timestamp='2008-04-14'
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 @@ -250,12 +250,14 @@
1.29 | i370 | i860 | i960 | ia64 \
1.30 | ip2k | iq2000 \
1.31 | m32c | m32r | m32rle | m68000 | m68k | m88k \
1.32 - | maxq | mb | microblaze | mcore | mep \
1.33 + | maxq | mb | microblaze | mcore | mep | metag \
1.34 | mips | mipsbe | mipseb | mipsel | mipsle \
1.35 | mips16 \
1.36 | mips64 | mips64el \
1.37 + | mips64octeon | mips64octeonel \
1.38 + | mips64orion | mips64orionel \
1.39 + | mips64r5900 | mips64r5900el \
1.40 | mips64vr | mips64vrel \
1.41 - | mips64orion | mips64orionel \
1.42 | mips64vr4100 | mips64vr4100el \
1.43 | mips64vr4300 | mips64vr4300el \
1.44 | mips64vr5000 | mips64vr5000el \
1.45 @@ -331,12 +333,14 @@
1.46 | ip2k-* | iq2000-* \
1.47 | m32c-* | m32r-* | m32rle-* \
1.48 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
1.49 - | m88110-* | m88k-* | maxq-* | mcore-* \
1.50 + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
1.51 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
1.52 | mips16-* \
1.53 | mips64-* | mips64el-* \
1.54 + | mips64octeon-* | mips64octeonel-* \
1.55 + | mips64orion-* | mips64orionel-* \
1.56 + | mips64r5900-* | mips64r5900el-* \
1.57 | mips64vr-* | mips64vrel-* \
1.58 - | mips64orion-* | mips64orionel-* \
1.59 | mips64vr4100-* | mips64vr4100el-* \
1.60 | mips64vr4300-* | mips64vr4300el-* \
1.61 | mips64vr5000-* | mips64vr5000el-* \
1.62 @@ -364,15 +368,19 @@
1.63 | sparclite-* \
1.64 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
1.65 | tahoe-* | thumb-* \
1.66 - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
1.67 + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
1.68 | tron-* \
1.69 | v850-* | v850e-* | vax-* \
1.70 | we32k-* \
1.71 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
1.72 - | xstormy16-* | xtensa-* \
1.73 + | xstormy16-* | xtensa*-* \
1.74 | ymp-* \
1.75 | z8k-*)
1.76 ;;
1.77 + # Recognize the basic CPU types without company name, with glob match.
1.78 + xtensa*)
1.79 + basic_machine=$basic_machine-unknown
1.80 + ;;
1.81 # Recognize the various machine names and aliases which stand
1.82 # for a CPU type and a company and sometimes even an OS.
1.83 386bsd)
1.84 @@ -443,6 +451,14 @@
1.85 basic_machine=ns32k-sequent
1.86 os=-dynix
1.87 ;;
1.88 + blackfin)
1.89 + basic_machine=bfin-unknown
1.90 + os=-linux
1.91 + ;;
1.92 + blackfin-*)
1.93 + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
1.94 + os=-linux
1.95 + ;;
1.96 c90)
1.97 basic_machine=c90-cray
1.98 os=-unicos
1.99 @@ -514,6 +530,10 @@
1.100 basic_machine=m88k-motorola
1.101 os=-sysv3
1.102 ;;
1.103 + dicos)
1.104 + basic_machine=i686-pc
1.105 + os=-dicos
1.106 + ;;
1.107 djgpp)
1.108 basic_machine=i586-pc
1.109 os=-msdosdjgpp
1.110 @@ -668,6 +688,14 @@
1.111 basic_machine=m68k-isi
1.112 os=-sysv
1.113 ;;
1.114 + m68knommu)
1.115 + basic_machine=m68k-unknown
1.116 + os=-linux
1.117 + ;;
1.118 + m68knommu-*)
1.119 + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
1.120 + os=-linux
1.121 + ;;
1.122 m88k-omron*)
1.123 basic_machine=m88k-omron
1.124 ;;
1.125 @@ -813,6 +841,14 @@
1.126 basic_machine=i860-intel
1.127 os=-osf
1.128 ;;
1.129 + parisc)
1.130 + basic_machine=hppa-unknown
1.131 + os=-linux
1.132 + ;;
1.133 + parisc-*)
1.134 + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
1.135 + os=-linux
1.136 + ;;
1.137 pbd)
1.138 basic_machine=sparc-tti
1.139 ;;
1.140 @@ -1021,6 +1057,10 @@
1.141 basic_machine=tic6x-unknown
1.142 os=-coff
1.143 ;;
1.144 + tile*)
1.145 + basic_machine=tile-unknown
1.146 + os=-linux-gnu
1.147 + ;;
1.148 tx39)
1.149 basic_machine=mipstx39-unknown
1.150 ;;
1.151 @@ -1356,6 +1396,9 @@
1.152 -zvmoe)
1.153 os=-zvmoe
1.154 ;;
1.155 + -dicos*)
1.156 + os=-dicos
1.157 + ;;
1.158 -none)
1.159 ;;
1.160 *)