summaryrefslogtreecommitdiffstats
path: root/config.sub
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2012-04-25 15:48:28 +0000
committerJoel Brobecker <brobecke@gcc.gnu.org>2012-04-25 15:48:28 +0000
commit95e5b9a43acdccb2e47196b3be05b5df51619d77 (patch)
tree3617c928383f6bc1afe73bc6d28d2fc8fb00637f /config.sub
parent[multiple changes] (diff)
downloadgcc-95e5b9a43acdccb2e47196b3be05b5df51619d77.tar.gz
gcc-95e5b9a43acdccb2e47196b3be05b5df51619d77.tar.bz2
gcc-95e5b9a43acdccb2e47196b3be05b5df51619d77.tar.xz
Update config.sub to 2012-04-18 version from official repo.
ChangeLog: * config.sub: Update to 2012-04-18 version from official repo. From-SVN: r186830
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub42
1 files changed, 27 insertions, 15 deletions
diff --git a/config.sub b/config.sub
index 78176a44029..59bb593f109 100755
--- a/config.sub
+++ b/config.sub
@@ -2,9 +2,9 @@
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# 2011 Free Software Foundation, Inc. 5# 2011, 2012 Free Software Foundation, Inc.
6 6
7timestamp='2011-10-29' 7timestamp='2012-04-18'
8 8
9# This file is (in principle) common to ALL GNU software. 9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software 10# The presence of a machine in this file suggests that SOME GNU software
@@ -21,9 +21,7 @@ timestamp='2011-10-29'
21# GNU General Public License for more details. 21# GNU General Public License for more details.
22# 22#
23# You should have received a copy of the GNU General Public License 23# You should have received a copy of the GNU General Public License
24# along with this program; if not, write to the Free Software 24# along with this program; if not, see <http://www.gnu.org/licenses/>.
25# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26# 02110-1301, USA.
27# 25#
28# As a special exception to the GNU General Public License, if you 26# As a special exception to the GNU General Public License, if you
29# distribute this file as part of a program that contains a 27# distribute this file as part of a program that contains a
@@ -76,8 +74,8 @@ version="\
76GNU config.sub ($timestamp) 74GNU config.sub ($timestamp)
77 75
78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 76Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free 772001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
80Software Foundation, Inc. 78Free Software Foundation, Inc.
81 79
82This is free software; see the source for copying conditions. There is NO 80This is free software; see the source for copying conditions. There is NO
83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 81warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -132,6 +130,10 @@ case $maybe_os in
132 os=-$maybe_os 130 os=-$maybe_os
133 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
134 ;; 132 ;;
133 android-linux)
134 os=-linux-android
135 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
136 ;;
135 *) 137 *)
136 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 138 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
137 if [ $basic_machine != $1 ] 139 if [ $basic_machine != $1 ]
@@ -223,6 +225,12 @@ case $os in
223 -isc*) 225 -isc*)
224 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 226 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
225 ;; 227 ;;
228 -lynx*178)
229 os=-lynxos178
230 ;;
231 -lynx*5)
232 os=-lynxos5
233 ;;
226 -lynx*) 234 -lynx*)
227 os=-lynxos 235 os=-lynxos
228 ;; 236 ;;
@@ -247,6 +255,7 @@ case $basic_machine in
247 # Some are omitted here because they have special meanings below. 255 # Some are omitted here because they have special meanings below.
248 1750a | 580 \ 256 1750a | 580 \
249 | a29k \ 257 | a29k \
258 | aarch64 | aarch64_be \
250 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 259 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 260 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
252 | am33_2.0 \ 261 | am33_2.0 \
@@ -319,8 +328,7 @@ case $basic_machine in
319 c6x) 328 c6x)
320 basic_machine=tic6x-unknown 329 basic_machine=tic6x-unknown
321 ;; 330 ;;
322 m6811 | m68hc11 | m6812 | m68hc12 | picochip) 331 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
323 # Motorola 68HC11/12.
324 basic_machine=$basic_machine-unknown 332 basic_machine=$basic_machine-unknown
325 os=-none 333 os=-none
326 ;; 334 ;;
@@ -333,7 +341,10 @@ case $basic_machine in
333 strongarm | thumb | xscale) 341 strongarm | thumb | xscale)
334 basic_machine=arm-unknown 342 basic_machine=arm-unknown
335 ;; 343 ;;
336 344 xgate)
345 basic_machine=$basic_machine-unknown
346 os=-none
347 ;;
337 xscaleeb) 348 xscaleeb)
338 basic_machine=armeb-unknown 349 basic_machine=armeb-unknown
339 ;; 350 ;;
@@ -356,6 +367,7 @@ case $basic_machine in
356 # Recognize the basic CPU types with company name. 367 # Recognize the basic CPU types with company name.
357 580-* \ 368 580-* \
358 | a29k-* \ 369 | a29k-* \
370 | aarch64-* | aarch64_be-* \
359 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 371 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
360 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 372 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
361 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 373 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
@@ -719,7 +731,6 @@ case $basic_machine in
719 i370-ibm* | ibm*) 731 i370-ibm* | ibm*)
720 basic_machine=i370-ibm 732 basic_machine=i370-ibm
721 ;; 733 ;;
722# I'm not sure what "Sysv32" means. Should this be sysv3.2?
723 i*86v32) 734 i*86v32)
724 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 735 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
725 os=-sysv32 736 os=-sysv32
@@ -816,6 +827,10 @@ case $basic_machine in
816 ms1-*) 827 ms1-*)
817 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 828 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
818 ;; 829 ;;
830 msys)
831 basic_machine=i386-pc
832 os=-msys
833 ;;
819 mvs) 834 mvs)
820 basic_machine=i370-ibm 835 basic_machine=i370-ibm
821 os=-mvs 836 os=-mvs
@@ -1343,7 +1358,7 @@ case $os in
1343 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1358 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1344 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1359 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1345 | -chorusos* | -chorusrdb* | -cegcc* \ 1360 | -chorusos* | -chorusrdb* | -cegcc* \
1346 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1361 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1347 | -mingw32* | -linux-gnu* | -linux-android* \ 1362 | -mingw32* | -linux-gnu* | -linux-android* \
1348 | -linux-newlib* | -linux-uclibc* \ 1363 | -linux-newlib* | -linux-uclibc* \
1349 | -uxpv* | -beos* | -mpeix* | -udk* \ 1364 | -uxpv* | -beos* | -mpeix* | -udk* \
@@ -1555,9 +1570,6 @@ case $basic_machine in
1555 ;; 1570 ;;
1556 m68000-sun) 1571 m68000-sun)
1557 os=-sunos3 1572 os=-sunos3
1558 # This also exists in the configure program, but was not the
1559 # default.
1560 # os=-sunos4
1561 ;; 1573 ;;
1562 m68*-cisco) 1574 m68*-cisco)
1563 os=-aout 1575 os=-aout