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-05-10 '
5
+ timestamp=' 2017-01-01 '
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
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/' `
@@ -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 \
@@ -428,6 +429,7 @@ case $basic_machine in
428
429
| orion-* \
429
430
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
430
431
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
432
+ | pru-* \
431
433
| pyramid-* \
432
434
| riscv32-* | riscv64-* \
433
435
| rl78-* | romp-* | rs6000-* | rx-* \
@@ -643,6 +645,14 @@ case $basic_machine in
643
645
basic_machine=m68k-bull
644
646
os=-sysv3
645
647
;;
648
+ e500v[12])
649
+ basic_machine=powerpc-unknown
650
+ os=$os " spe"
651
+ ;;
652
+ e500v[12]-* )
653
+ basic_machine=powerpc-` echo $basic_machine | sed ' s/^[^-]*-//' `
654
+ os=$os " spe"
655
+ ;;
646
656
ebmon29k)
647
657
basic_machine=a29k-amd
648
658
os=-ebmon
@@ -1022,7 +1032,7 @@ case $basic_machine in
1022
1032
ppc-* | ppcbe-* )
1023
1033
basic_machine=powerpc-` echo $basic_machine | sed ' s/^[^-]*-//' `
1024
1034
;;
1025
- ppcle | powerpclittle | ppc-le | powerpc-little )
1035
+ ppcle | powerpclittle)
1026
1036
basic_machine=powerpcle-unknown
1027
1037
;;
1028
1038
ppcle-* | powerpclittle-* )
@@ -1032,7 +1042,7 @@ case $basic_machine in
1032
1042
;;
1033
1043
ppc64-* ) basic_machine=powerpc64-` echo $basic_machine | sed ' s/^[^-]*-//' `
1034
1044
;;
1035
- ppc64le | powerpc64little | ppc64-le | powerpc64-little )
1045
+ ppc64le | powerpc64little)
1036
1046
basic_machine=powerpc64le-unknown
1037
1047
;;
1038
1048
ppc64le-* | powerpc64little-* )
@@ -1387,9 +1397,9 @@ case $os in
1387
1397
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1388
1398
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1389
1399
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1390
- | -chorusos* | -chorusrdb* | -cegcc* \
1400
+ | -chorusos* | -chorusrdb* | -cegcc* | -glidix * \
1391
1401
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1392
- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1402
+ | -midipix * | - mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1393
1403
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
1394
1404
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1395
1405
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
@@ -1399,7 +1409,7 @@ case $os in
1399
1409
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1400
1410
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1401
1411
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1402
- | -onefs* | -tirtos* | -phoenix* )
1412
+ | -onefs* | -tirtos* | -phoenix* | -fuchsia * | -redox * )
1403
1413
# Remember, each alternative MUST END IN *, to match a version number.
1404
1414
;;
1405
1415
-qnx* )
@@ -1628,6 +1638,9 @@ case $basic_machine in
1628
1638
sparc-* | * -sun)
1629
1639
os=-sunos4.1.1
1630
1640
;;
1641
+ pru-* )
1642
+ os=-elf
1643
+ ;;
1631
1644
* -be)
1632
1645
os=-beos
1633
1646
;;
0 commit comments