summaryrefslogtreecommitdiffstats
path: root/config.sub
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2016-11-25 08:38:27 +1100
committerBen Elliston <bje@gcc.gnu.org>2016-11-25 08:38:27 +1100
commit292edab3a7777e08b11dec290cb12092935b04f6 (patch)
treefc19cf693b02c085dc0b4556e6ae472284623f9e /config.sub
parent* config/i386/i386.md: Move some more patterns around. (diff)
downloadgcc-292edab3a7777e08b11dec290cb12092935b04f6.tar.gz
gcc-292edab3a7777e08b11dec290cb12092935b04f6.tar.bz2
gcc-292edab3a7777e08b11dec290cb12092935b04f6.tar.xz
config.guess: Import latest version.
* config.guess: Import latest version. * config.sub: Likewise. From-SVN: r242851
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub24
1 files changed, 17 insertions, 7 deletions
diff --git a/config.sub b/config.sub
index 6d86a1e2f77..3478c1fd0d3 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright 1992-2016 Free Software Foundation, Inc. 3# Copyright 1992-2016 Free Software Foundation, Inc.
4 4
5timestamp='2016-05-10' 5timestamp='2016-11-19'
6 6
7# This file is free software; you can redistribute it and/or modify it 7# This file is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by 8# under the terms of the GNU General Public License as published by
@@ -117,7 +117,7 @@ case $maybe_os in
117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
119 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ 119 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
120 kopensolaris*-gnu* | \ 120 kopensolaris*-gnu* | cloudabi*-eabi* | \
121 storm-chaos* | os2-emx* | rtmk-nova*) 121 storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os 122 os=-$maybe_os
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
@@ -301,6 +301,7 @@ case $basic_machine in
301 | open8 | or1k | or1knd | or32 \ 301 | open8 | or1k | or1knd | or32 \
302 | pdp10 | pdp11 | pj | pjl \ 302 | pdp10 | pdp11 | pj | pjl \
303 | powerpc | powerpc64 | powerpc64le | powerpcle \ 303 | powerpc | powerpc64 | powerpc64le | powerpcle \
304 | pru \
304 | pyramid \ 305 | pyramid \
305 | riscv32 | riscv64 \ 306 | riscv32 | riscv64 \
306 | rl78 | rx \ 307 | rl78 | rx \
@@ -428,6 +429,7 @@ case $basic_machine in
428 | orion-* \ 429 | orion-* \
429 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 430 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
430 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ 431 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
432 | pru-* \
431 | pyramid-* \ 433 | pyramid-* \
432 | riscv32-* | riscv64-* \ 434 | riscv32-* | riscv64-* \
433 | rl78-* | romp-* | rs6000-* | rx-* \ 435 | rl78-* | romp-* | rs6000-* | rx-* \
@@ -643,6 +645,14 @@ case $basic_machine in
643 basic_machine=m68k-bull 645 basic_machine=m68k-bull
644 os=-sysv3 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 ebmon29k) 656 ebmon29k)
647 basic_machine=a29k-amd 657 basic_machine=a29k-amd
648 os=-ebmon 658 os=-ebmon
@@ -1022,7 +1032,7 @@ case $basic_machine in
1022 ppc-* | ppcbe-*) 1032 ppc-* | ppcbe-*)
1023 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 1033 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1024 ;; 1034 ;;
1025 ppcle | powerpclittle | ppc-le | powerpc-little) 1035 ppcle | powerpclittle)
1026 basic_machine=powerpcle-unknown 1036 basic_machine=powerpcle-unknown
1027 ;; 1037 ;;
1028 ppcle-* | powerpclittle-*) 1038 ppcle-* | powerpclittle-*)
@@ -1032,7 +1042,7 @@ case $basic_machine in
1032 ;; 1042 ;;
1033 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` 1043 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1034 ;; 1044 ;;
1035 ppc64le | powerpc64little | ppc64-le | powerpc64-little) 1045 ppc64le | powerpc64little)
1036 basic_machine=powerpc64le-unknown 1046 basic_machine=powerpc64le-unknown
1037 ;; 1047 ;;
1038 ppc64le-* | powerpc64little-*) 1048 ppc64le-* | powerpc64little-*)
@@ -1387,9 +1397,9 @@ case $os in
1387 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1397 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1388 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1398 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1389 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1399 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1390 | -chorusos* | -chorusrdb* | -cegcc* \ 1400 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
1391 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1401 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1392 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ 1402 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1393 | -linux-newlib* | -linux-musl* | -linux-uclibc* \ 1403 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1394 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ 1404 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1395 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1405 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
@@ -1399,7 +1409,7 @@ case $os in
1399 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1409 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1400 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1410 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1401 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ 1411 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1402 | -onefs* | -tirtos* | -phoenix*) 1412 | -onefs* | -tirtos* | -phoenix* | -fuchsia*)
1403 # Remember, each alternative MUST END IN *, to match a version number. 1413 # Remember, each alternative MUST END IN *, to match a version number.
1404 ;; 1414 ;;
1405 -qnx*) 1415 -qnx*)