|
|
|
@ -1,8 +1,8 @@
@@ -1,8 +1,8 @@
|
|
|
|
|
#! /bin/sh |
|
|
|
|
# Configuration validation subroutine script. |
|
|
|
|
# Copyright 1992-2016 Free Software Foundation, Inc. |
|
|
|
|
# Copyright 1992-2017 Free Software Foundation, Inc. |
|
|
|
|
|
|
|
|
|
timestamp='2016-05-10' |
|
|
|
|
timestamp='2017-01-01' |
|
|
|
|
|
|
|
|
|
# This file is free software; you can redistribute it and/or modify it |
|
|
|
|
# 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,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
|
|
|
version="\ |
|
|
|
|
GNU config.sub ($timestamp) |
|
|
|
|
|
|
|
|
|
Copyright 1992-2016 Free Software Foundation, Inc. |
|
|
|
|
Copyright 1992-2017 Free Software Foundation, Inc. |
|
|
|
|
|
|
|
|
|
This is free software; see the source for copying conditions. There is NO |
|
|
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
|
|
|
@ -117,7 +117,7 @@ case $maybe_os in
@@ -117,7 +117,7 @@ case $maybe_os in
|
|
|
|
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
|
|
|
|
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
|
|
|
|
knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ |
|
|
|
|
kopensolaris*-gnu* | \ |
|
|
|
|
kopensolaris*-gnu* | cloudabi*-eabi* | \ |
|
|
|
|
storm-chaos* | os2-emx* | rtmk-nova*) |
|
|
|
|
os=-$maybe_os |
|
|
|
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
|
|
|
@ -301,6 +301,7 @@ case $basic_machine in
@@ -301,6 +301,7 @@ case $basic_machine in
|
|
|
|
|
| open8 | or1k | or1knd | or32 \ |
|
|
|
|
| pdp10 | pdp11 | pj | pjl \ |
|
|
|
|
| powerpc | powerpc64 | powerpc64le | powerpcle \ |
|
|
|
|
| pru \ |
|
|
|
|
| pyramid \ |
|
|
|
|
| riscv32 | riscv64 \ |
|
|
|
|
| rl78 | rx \ |
|
|
|
@ -428,6 +429,7 @@ case $basic_machine in
@@ -428,6 +429,7 @@ case $basic_machine in
|
|
|
|
|
| orion-* \ |
|
|
|
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
|
|
|
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
|
|
|
|
| pru-* \ |
|
|
|
|
| pyramid-* \ |
|
|
|
|
| riscv32-* | riscv64-* \ |
|
|
|
|
| rl78-* | romp-* | rs6000-* | rx-* \ |
|
|
|
@ -643,6 +645,14 @@ case $basic_machine in
@@ -643,6 +645,14 @@ case $basic_machine in
|
|
|
|
|
basic_machine=m68k-bull |
|
|
|
|
os=-sysv3 |
|
|
|
|
;; |
|
|
|
|
e500v[12]) |
|
|
|
|
basic_machine=powerpc-unknown |
|
|
|
|
os=$os"spe" |
|
|
|
|
;; |
|
|
|
|
e500v[12]-*) |
|
|
|
|
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
|
|
|
os=$os"spe" |
|
|
|
|
;; |
|
|
|
|
ebmon29k) |
|
|
|
|
basic_machine=a29k-amd |
|
|
|
|
os=-ebmon |
|
|
|
@ -1022,7 +1032,7 @@ case $basic_machine in
@@ -1022,7 +1032,7 @@ case $basic_machine in
|
|
|
|
|
ppc-* | ppcbe-*) |
|
|
|
|
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
|
|
|
;; |
|
|
|
|
ppcle | powerpclittle | ppc-le | powerpc-little) |
|
|
|
|
ppcle | powerpclittle) |
|
|
|
|
basic_machine=powerpcle-unknown |
|
|
|
|
;; |
|
|
|
|
ppcle-* | powerpclittle-*) |
|
|
|
@ -1032,7 +1042,7 @@ case $basic_machine in
@@ -1032,7 +1042,7 @@ case $basic_machine in
|
|
|
|
|
;; |
|
|
|
|
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
|
|
|
;; |
|
|
|
|
ppc64le | powerpc64little | ppc64-le | powerpc64-little) |
|
|
|
|
ppc64le | powerpc64little) |
|
|
|
|
basic_machine=powerpc64le-unknown |
|
|
|
|
;; |
|
|
|
|
ppc64le-* | powerpc64little-*) |
|
|
|
@ -1387,9 +1397,9 @@ case $os in
@@ -1387,9 +1397,9 @@ case $os in
|
|
|
|
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
|
|
|
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
|
|
|
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
|
|
|
|
| -chorusos* | -chorusrdb* | -cegcc* \ |
|
|
|
|
| -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ |
|
|
|
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
|
|
|
|
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
|
|
|
|
| -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
|
|
|
|
| -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
|
|
|
|
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
|
|
|
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
|
|
|
@ -1399,7 +1409,7 @@ case $os in
@@ -1399,7 +1409,7 @@ case $os in
|
|
|
|
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
|
|
|
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
|
|
|
|
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ |
|
|
|
|
| -onefs* | -tirtos* | -phoenix*) |
|
|
|
|
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*) |
|
|
|
|
# Remember, each alternative MUST END IN *, to match a version number. |
|
|
|
|
;; |
|
|
|
|
-qnx*) |
|
|
|
@ -1628,6 +1638,9 @@ case $basic_machine in
@@ -1628,6 +1638,9 @@ case $basic_machine in
|
|
|
|
|
sparc-* | *-sun) |
|
|
|
|
os=-sunos4.1.1 |
|
|
|
|
;; |
|
|
|
|
pru-*) |
|
|
|
|
os=-elf |
|
|
|
|
;; |
|
|
|
|
*-be) |
|
|
|
|
os=-beos |
|
|
|
|
;; |
|
|
|
|