diff options
author | Colin Watson <cjwatson@debian.org> | 2011-02-05 10:51:08 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-02-05 10:51:08 +0000 |
commit | afde81fe5d3d6d3e9721ec56981e0214ea850bc6 (patch) | |
tree | 88a894b9003f577e40c7b04f71866a8257b8f6ee /config.sub | |
parent | 8c0fe794fcc0f47ff728101568da865ab387dc6d (diff) | |
parent | 478ff799463ca926a8dfbabf058f4e84aaffc65a (diff) |
Import 5.8p1 tarball
Diffstat (limited to 'config.sub')
-rwxr-xr-x | config.sub | 67 |
1 files changed, 21 insertions, 46 deletions
diff --git a/config.sub b/config.sub index 2d8169626..c2d125724 100755 --- a/config.sub +++ b/config.sub | |||
@@ -1,10 +1,10 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
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 | # Free Software Foundation, Inc. |
6 | 6 | ||
7 | timestamp='2011-01-01' | 7 | timestamp='2010-01-22' |
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 |
@@ -124,9 +124,8 @@ esac | |||
124 | # Here we must recognize all the valid KERNEL-OS combinations. | 124 | # Here we must recognize all the valid KERNEL-OS combinations. |
125 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 125 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
126 | case $maybe_os in | 126 | case $maybe_os in |
127 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | 127 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
128 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | 128 | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
129 | knetbsd*-gnu* | netbsd*-gnu* | \ | ||
130 | kopensolaris*-gnu* | \ | 129 | kopensolaris*-gnu* | \ |
131 | storm-chaos* | os2-emx* | rtmk-nova*) | 130 | storm-chaos* | os2-emx* | rtmk-nova*) |
132 | os=-$maybe_os | 131 | os=-$maybe_os |
@@ -283,7 +282,6 @@ case $basic_machine in | |||
283 | | moxie \ | 282 | | moxie \ |
284 | | mt \ | 283 | | mt \ |
285 | | msp430 \ | 284 | | msp430 \ |
286 | | nds32 | nds32le | nds32be \ | ||
287 | | nios | nios2 \ | 285 | | nios | nios2 \ |
288 | | ns16k | ns32k \ | 286 | | ns16k | ns32k \ |
289 | | or32 \ | 287 | | or32 \ |
@@ -297,7 +295,7 @@ case $basic_machine in | |||
297 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | 295 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
298 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 296 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
299 | | spu | strongarm \ | 297 | | spu | strongarm \ |
300 | | tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | 298 | | tahoe | thumb | tic4x | tic80 | tron \ |
301 | | ubicom32 \ | 299 | | ubicom32 \ |
302 | | v850 | v850e \ | 300 | | v850 | v850e \ |
303 | | we32k \ | 301 | | we32k \ |
@@ -305,15 +303,6 @@ case $basic_machine in | |||
305 | | z8k | z80) | 303 | | z8k | z80) |
306 | basic_machine=$basic_machine-unknown | 304 | basic_machine=$basic_machine-unknown |
307 | ;; | 305 | ;; |
308 | c54x) | ||
309 | basic_machine=tic54x-unknown | ||
310 | ;; | ||
311 | c55x) | ||
312 | basic_machine=tic55x-unknown | ||
313 | ;; | ||
314 | c6x) | ||
315 | basic_machine=tic6x-unknown | ||
316 | ;; | ||
317 | m6811 | m68hc11 | m6812 | m68hc12 | picochip) | 306 | m6811 | m68hc11 | m6812 | m68hc12 | picochip) |
318 | # Motorola 68HC11/12. | 307 | # Motorola 68HC11/12. |
319 | basic_machine=$basic_machine-unknown | 308 | basic_machine=$basic_machine-unknown |
@@ -345,7 +334,7 @@ case $basic_machine in | |||
345 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | 334 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
346 | | avr-* | avr32-* \ | 335 | | avr-* | avr32-* \ |
347 | | bfin-* | bs2000-* \ | 336 | | bfin-* | bs2000-* \ |
348 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | 337 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
349 | | clipper-* | craynv-* | cydra-* \ | 338 | | clipper-* | craynv-* | cydra-* \ |
350 | | d10v-* | d30v-* | dlx-* \ | 339 | | d10v-* | d30v-* | dlx-* \ |
351 | | elxsi-* \ | 340 | | elxsi-* \ |
@@ -379,7 +368,6 @@ case $basic_machine in | |||
379 | | mmix-* \ | 368 | | mmix-* \ |
380 | | mt-* \ | 369 | | mt-* \ |
381 | | msp430-* \ | 370 | | msp430-* \ |
382 | | nds32-* | nds32le-* | nds32be-* \ | ||
383 | | nios-* | nios2-* \ | 371 | | nios-* | nios2-* \ |
384 | | none-* | np1-* | ns16k-* | ns32k-* \ | 372 | | none-* | np1-* | ns16k-* | ns32k-* \ |
385 | | orion-* \ | 373 | | orion-* \ |
@@ -494,15 +482,6 @@ case $basic_machine in | |||
494 | basic_machine=powerpc-ibm | 482 | basic_machine=powerpc-ibm |
495 | os=-cnk | 483 | os=-cnk |
496 | ;; | 484 | ;; |
497 | c54x-*) | ||
498 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
499 | ;; | ||
500 | c55x-*) | ||
501 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
502 | ;; | ||
503 | c6x-*) | ||
504 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
505 | ;; | ||
506 | c90) | 485 | c90) |
507 | basic_machine=c90-cray | 486 | basic_machine=c90-cray |
508 | os=-unicos | 487 | os=-unicos |
@@ -539,7 +518,7 @@ case $basic_machine in | |||
539 | basic_machine=craynv-cray | 518 | basic_machine=craynv-cray |
540 | os=-unicosmp | 519 | os=-unicosmp |
541 | ;; | 520 | ;; |
542 | cr16 | cr16-*) | 521 | cr16) |
543 | basic_machine=cr16-unknown | 522 | basic_machine=cr16-unknown |
544 | os=-elf | 523 | os=-elf |
545 | ;; | 524 | ;; |
@@ -862,12 +841,6 @@ case $basic_machine in | |||
862 | np1) | 841 | np1) |
863 | basic_machine=np1-gould | 842 | basic_machine=np1-gould |
864 | ;; | 843 | ;; |
865 | neo-tandem) | ||
866 | basic_machine=neo-tandem | ||
867 | ;; | ||
868 | nse-tandem) | ||
869 | basic_machine=nse-tandem | ||
870 | ;; | ||
871 | nsr-tandem) | 844 | nsr-tandem) |
872 | basic_machine=nsr-tandem | 845 | basic_machine=nsr-tandem |
873 | ;; | 846 | ;; |
@@ -1102,6 +1075,18 @@ case $basic_machine in | |||
1102 | basic_machine=t90-cray | 1075 | basic_machine=t90-cray |
1103 | os=-unicos | 1076 | os=-unicos |
1104 | ;; | 1077 | ;; |
1078 | tic54x | c54x*) | ||
1079 | basic_machine=tic54x-unknown | ||
1080 | os=-coff | ||
1081 | ;; | ||
1082 | tic55x | c55x*) | ||
1083 | basic_machine=tic55x-unknown | ||
1084 | os=-coff | ||
1085 | ;; | ||
1086 | tic6x | c6x*) | ||
1087 | basic_machine=tic6x-unknown | ||
1088 | os=-coff | ||
1089 | ;; | ||
1105 | # This must be matched before tile*. | 1090 | # This must be matched before tile*. |
1106 | tilegx*) | 1091 | tilegx*) |
1107 | basic_machine=tilegx-unknown | 1092 | basic_machine=tilegx-unknown |
@@ -1316,8 +1301,7 @@ case $os in | |||
1316 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1301 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1317 | | -chorusos* | -chorusrdb* | -cegcc* \ | 1302 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1318 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1303 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1319 | | -mingw32* | -linux-gnu* | -linux-android* \ | 1304 | | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
1320 | | -linux-newlib* | -linux-uclibc* \ | ||
1321 | | -uxpv* | -beos* | -mpeix* | -udk* \ | 1305 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
1322 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1306 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1323 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1307 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
@@ -1500,15 +1484,6 @@ case $basic_machine in | |||
1500 | c4x-* | tic4x-*) | 1484 | c4x-* | tic4x-*) |
1501 | os=-coff | 1485 | os=-coff |
1502 | ;; | 1486 | ;; |
1503 | tic54x-*) | ||
1504 | os=-coff | ||
1505 | ;; | ||
1506 | tic55x-*) | ||
1507 | os=-coff | ||
1508 | ;; | ||
1509 | tic6x-*) | ||
1510 | os=-coff | ||
1511 | ;; | ||
1512 | # This must come before the *-dec entry. | 1487 | # This must come before the *-dec entry. |
1513 | pdp10-*) | 1488 | pdp10-*) |
1514 | os=-tops20 | 1489 | os=-tops20 |