1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
- # Copyright 1992-2016 Free Software Foundation, Inc.
3
+ # Copyright 1992-2017 Free Software Foundation, Inc.
4
4
5
- timestamp=' 2016-01-01 '
5
+ timestamp=' 2017-04-02 '
6
6
7
7
# This file is free software; you can redistribute it and/or modify it
8
8
# under the terms of the GNU General Public License as published by
@@ -67,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
67
67
version=" \
68
68
GNU config.sub ($timestamp )
69
69
70
- Copyright 1992-2016 Free Software Foundation, Inc.
70
+ Copyright 1992-2017 Free Software Foundation, Inc.
71
71
72
72
This is free software; see the source for copying conditions. There is NO
73
73
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -117,7 +117,7 @@ case $maybe_os in
117
117
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118
118
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd* -gnu* | \
119
119
knetbsd* -gnu* | netbsd* -gnu* | netbsd* -eabi* | \
120
- kopensolaris* -gnu* | \
120
+ kopensolaris* -gnu* | cloudabi * -eabi * | \
121
121
storm-chaos* | os2-emx* | rtmk-nova* )
122
122
os=-$maybe_os
123
123
basic_machine=` echo $1 | sed ' s/^\(.*\)-\([^-]*-[^-]*\)$/\1/' `
@@ -263,7 +263,7 @@ case $basic_machine in
263
263
| fido | fr30 | frv | ft32 \
264
264
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
265
265
| hexagon \
266
- | i370 | i860 | i960 | ia64 \
266
+ | i370 | i860 | i960 | ia16 | ia64 \
267
267
| ip2k | iq2000 \
268
268
| k1om \
269
269
| le32 | le64 \
@@ -301,6 +301,7 @@ case $basic_machine in
301
301
| open8 | or1k | or1knd | or32 \
302
302
| pdp10 | pdp11 | pj | pjl \
303
303
| powerpc | powerpc64 | powerpc64le | powerpcle \
304
+ | pru \
304
305
| pyramid \
305
306
| riscv32 | riscv64 \
306
307
| rl78 | rx \
@@ -314,6 +315,7 @@ case $basic_machine in
314
315
| ubicom32 \
315
316
| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
316
317
| visium \
318
+ | wasm32 \
317
319
| we32k \
318
320
| x86 | xc16x | xstormy16 | xtensa \
319
321
| z8k | z80)
@@ -387,7 +389,7 @@ case $basic_machine in
387
389
| h8300-* | h8500-* \
388
390
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
389
391
| hexagon-* \
390
- | i* 86-* | i860-* | i960-* | ia64-* \
392
+ | i* 86-* | i860-* | i960-* | ia16- * | ia64-* \
391
393
| ip2k-* | iq2000-* \
392
394
| k1om-* \
393
395
| le32-* | le64-* \
@@ -428,6 +430,7 @@ case $basic_machine in
428
430
| orion-* \
429
431
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
430
432
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
433
+ | pru-* \
431
434
| pyramid-* \
432
435
| riscv32-* | riscv64-* \
433
436
| rl78-* | romp-* | rs6000-* | rx-* \
@@ -444,6 +447,7 @@ case $basic_machine in
444
447
| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
445
448
| vax-* \
446
449
| visium-* \
450
+ | wasm32-* \
447
451
| we32k-* \
448
452
| x86-* | x86_64-* | xc16x-* | xps100-* \
449
453
| xstormy16-* | xtensa* -* \
@@ -643,6 +647,14 @@ case $basic_machine in
643
647
basic_machine=m68k-bull
644
648
os=-sysv3
645
649
;;
650
+ e500v[12])
651
+ basic_machine=powerpc-unknown
652
+ os=$os " spe"
653
+ ;;
654
+ e500v[12]-* )
655
+ basic_machine=powerpc-` echo $basic_machine | sed ' s/^[^-]*-//' `
656
+ os=$os " spe"
657
+ ;;
646
658
ebmon29k)
647
659
basic_machine=a29k-amd
648
660
os=-ebmon
@@ -938,6 +950,9 @@ case $basic_machine in
938
950
nsr-tandem)
939
951
basic_machine=nsr-tandem
940
952
;;
953
+ nsx-tandem)
954
+ basic_machine=nsx-tandem
955
+ ;;
941
956
op50n-* | op60c-* )
942
957
basic_machine=hppa1.1-oki
943
958
os=-proelf
@@ -1022,7 +1037,7 @@ case $basic_machine in
1022
1037
ppc-* | ppcbe-* )
1023
1038
basic_machine=powerpc-` echo $basic_machine | sed ' s/^[^-]*-//' `
1024
1039
;;
1025
- ppcle | powerpclittle | ppc-le | powerpc-little )
1040
+ ppcle | powerpclittle)
1026
1041
basic_machine=powerpcle-unknown
1027
1042
;;
1028
1043
ppcle-* | powerpclittle-* )
@@ -1032,7 +1047,7 @@ case $basic_machine in
1032
1047
;;
1033
1048
ppc64-* ) basic_machine=powerpc64-` echo $basic_machine | sed ' s/^[^-]*-//' `
1034
1049
;;
1035
- ppc64le | powerpc64little | ppc64-le | powerpc64-little )
1050
+ ppc64le | powerpc64little)
1036
1051
basic_machine=powerpc64le-unknown
1037
1052
;;
1038
1053
ppc64le-* | powerpc64little-* )
@@ -1233,6 +1248,9 @@ case $basic_machine in
1233
1248
basic_machine=a29k-wrs
1234
1249
os=-vxworks
1235
1250
;;
1251
+ wasm32)
1252
+ basic_machine=wasm32-unknown
1253
+ ;;
1236
1254
w65* )
1237
1255
basic_machine=w65-wdc
1238
1256
os=-none
@@ -1382,14 +1400,14 @@ case $os in
1382
1400
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1383
1401
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1384
1402
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1385
- | -bitrig* | -openbsd* | -solidbsd* \
1403
+ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd * \
1386
1404
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1387
1405
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1388
1406
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1389
1407
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1390
- | -chorusos* | -chorusrdb* | -cegcc* \
1408
+ | -chorusos* | -chorusrdb* | -cegcc* | -glidix * \
1391
1409
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1392
- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1410
+ | -midipix * | - mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1393
1411
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
1394
1412
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1395
1413
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
@@ -1399,7 +1417,7 @@ case $os in
1399
1417
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1400
1418
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1401
1419
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1402
- | -onefs* | -tirtos* )
1420
+ | -onefs* | -tirtos* | -phoenix * | -fuchsia * | -redox * )
1403
1421
# Remember, each alternative MUST END IN *, to match a version number.
1404
1422
;;
1405
1423
-qnx* )
@@ -1531,6 +1549,8 @@ case $os in
1531
1549
;;
1532
1550
-nacl* )
1533
1551
;;
1552
+ -ios)
1553
+ ;;
1534
1554
-none)
1535
1555
;;
1536
1556
* )
@@ -1626,6 +1646,9 @@ case $basic_machine in
1626
1646
sparc-* | * -sun)
1627
1647
os=-sunos4.1.1
1628
1648
;;
1649
+ pru-* )
1650
+ os=-elf
1651
+ ;;
1629
1652
* -be)
1630
1653
os=-beos
1631
1654
;;
0 commit comments