11#! /bin/sh
22# Configuration validation subroutine script.
3- # Copyright 1992-2016 Free Software Foundation, Inc.
3+ # Copyright 1992-2017 Free Software Foundation, Inc.
44
5- timestamp=' 2016-05-10 '
5+ timestamp=' 2017-01-01 '
66
77# This file is free software; you can redistribute it and/or modify it
88# under the terms of the GNU General Public License as published by
6767version=" \
6868GNU config.sub ($timestamp )
6969
70- Copyright 1992-2016 Free Software Foundation, Inc.
70+ Copyright 1992-2017 Free Software Foundation, Inc.
7171
7272This is free software; see the source for copying conditions. There is NO
7373warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -117,7 +117,7 @@ case $maybe_os in
117117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd* -gnu* | \
119119 knetbsd* -gnu* | netbsd* -gnu* | netbsd* -eabi* | \
120- kopensolaris* -gnu* | \
120+ kopensolaris* -gnu* | cloudabi * -eabi * | \
121121 storm-chaos* | os2-emx* | rtmk-nova* )
122122 os=-$maybe_os
123123 basic_machine=` echo $1 | sed ' s/^\(.*\)-\([^-]*-[^-]*\)$/\1/' `
@@ -301,6 +301,7 @@ case $basic_machine in
301301 | open8 | or1k | or1knd | or32 \
302302 | pdp10 | pdp11 | pj | pjl \
303303 | powerpc | powerpc64 | powerpc64le | powerpcle \
304+ | pru \
304305 | pyramid \
305306 | riscv32 | riscv64 \
306307 | rl78 | rx \
@@ -428,6 +429,7 @@ case $basic_machine in
428429 | orion-* \
429430 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
430431 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
432+ | pru-* \
431433 | pyramid-* \
432434 | riscv32-* | riscv64-* \
433435 | rl78-* | romp-* | rs6000-* | rx-* \
@@ -643,6 +645,14 @@ case $basic_machine in
643645 basic_machine=m68k-bull
644646 os=-sysv3
645647 ;;
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+ ;;
646656 ebmon29k)
647657 basic_machine=a29k-amd
648658 os=-ebmon
@@ -1022,7 +1032,7 @@ case $basic_machine in
10221032 ppc-* | ppcbe-* )
10231033 basic_machine=powerpc-` echo $basic_machine | sed ' s/^[^-]*-//' `
10241034 ;;
1025- ppcle | powerpclittle | ppc-le | powerpc-little )
1035+ ppcle | powerpclittle)
10261036 basic_machine=powerpcle-unknown
10271037 ;;
10281038 ppcle-* | powerpclittle-* )
@@ -1032,7 +1042,7 @@ case $basic_machine in
10321042 ;;
10331043 ppc64-* ) basic_machine=powerpc64-` echo $basic_machine | sed ' s/^[^-]*-//' `
10341044 ;;
1035- ppc64le | powerpc64little | ppc64-le | powerpc64-little )
1045+ ppc64le | powerpc64little)
10361046 basic_machine=powerpc64le-unknown
10371047 ;;
10381048 ppc64le-* | powerpc64little-* )
@@ -1387,9 +1397,9 @@ case $os in
13871397 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13881398 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
13891399 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1390- | -chorusos* | -chorusrdb* | -cegcc* \
1400+ | -chorusos* | -chorusrdb* | -cegcc* | -glidix * \
13911401 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1392- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1402+ | -midipix * | - mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
13931403 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
13941404 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
13951405 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
@@ -1399,7 +1409,7 @@ case $os in
13991409 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
14001410 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
14011411 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1402- | -onefs* | -tirtos* | -phoenix* )
1412+ | -onefs* | -tirtos* | -phoenix* | -fuchsia * | -redox * )
14031413 # Remember, each alternative MUST END IN *, to match a version number.
14041414 ;;
14051415 -qnx* )
@@ -1628,6 +1638,9 @@ case $basic_machine in
16281638 sparc-* | * -sun)
16291639 os=-sunos4.1.1
16301640 ;;
1641+ pru-* )
1642+ os=-elf
1643+ ;;
16311644 * -be)
16321645 os=-beos
16331646 ;;
0 commit comments