|
@@ -1,8 +1,8 @@
|
|
|
#! /bin/sh
|
|
|
# Configuration validation subroutine script.
|
|
|
-# Copyright 1992-2020 Free Software Foundation, Inc.
|
|
|
+# Copyright 1992-2021 Free Software Foundation, Inc.
|
|
|
|
|
|
-timestamp='2020-12-02'
|
|
|
+timestamp='2021-04-30'
|
|
|
|
|
|
# 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>."
|
|
|
version="\
|
|
|
GNU config.sub ($timestamp)
|
|
|
|
|
|
-Copyright 1992-2020 Free Software Foundation, Inc.
|
|
|
+Copyright 1992-2021 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."
|
|
@@ -1165,7 +1165,7 @@ case $cpu-$vendor in
|
|
|
| alphapca5[67] | alpha64pca5[67] \
|
|
|
| am33_2.0 \
|
|
|
| amdgcn \
|
|
|
- | arc | arceb \
|
|
|
+ | arc | arceb | arc64 \
|
|
|
| arm | arm[lb]e | arme[lb] | armv* \
|
|
|
| avr | avr32 \
|
|
|
| asmjs \
|
|
@@ -1185,6 +1185,7 @@ case $cpu-$vendor in
|
|
|
| k1om \
|
|
|
| le32 | le64 \
|
|
|
| lm32 \
|
|
|
+ | loongarch32 | loongarch64 | loongarchx32 \
|
|
|
| m32c | m32r | m32rle \
|
|
|
| m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
|
|
|
| m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
|
|
@@ -1203,9 +1204,13 @@ case $cpu-$vendor in
|
|
|
| mips64vr5900 | mips64vr5900el \
|
|
|
| mipsisa32 | mipsisa32el \
|
|
|
| mipsisa32r2 | mipsisa32r2el \
|
|
|
+ | mipsisa32r3 | mipsisa32r3el \
|
|
|
+ | mipsisa32r5 | mipsisa32r5el \
|
|
|
| mipsisa32r6 | mipsisa32r6el \
|
|
|
| mipsisa64 | mipsisa64el \
|
|
|
| mipsisa64r2 | mipsisa64r2el \
|
|
|
+ | mipsisa64r3 | mipsisa64r3el \
|
|
|
+ | mipsisa64r5 | mipsisa64r5el \
|
|
|
| mipsisa64r6 | mipsisa64r6el \
|
|
|
| mipsisa64sb1 | mipsisa64sb1el \
|
|
|
| mipsisa64sr71k | mipsisa64sr71kel \
|
|
@@ -1229,7 +1234,7 @@ case $cpu-$vendor in
|
|
|
| powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
|
|
|
| pru \
|
|
|
| pyramid \
|
|
|
- | riscv | riscv32 | riscv64 \
|
|
|
+ | riscv | riscv32 | riscv32be | riscv64 | riscv64be \
|
|
|
| rl78 | romp | rs6000 | rx \
|
|
|
| s390 | s390x \
|
|
|
| score \
|
|
@@ -1682,11 +1687,14 @@ fi
|
|
|
|
|
|
# Now, validate our (potentially fixed-up) OS.
|
|
|
case $os in
|
|
|
- # Sometimes we do "kernel-abi", so those need to count as OSes.
|
|
|
+ # Sometimes we do "kernel-libc", so those need to count as OSes.
|
|
|
musl* | newlib* | uclibc*)
|
|
|
;;
|
|
|
- # Likewise for "kernel-libc"
|
|
|
- eabi | eabihf | gnueabi | gnueabihf)
|
|
|
+ # Likewise for "kernel-abi"
|
|
|
+ eabi* | gnueabi*)
|
|
|
+ ;;
|
|
|
+ # VxWorks passes extra cpu info in the 4th filed.
|
|
|
+ simlinux | simwindows | spe)
|
|
|
;;
|
|
|
# Now accept the basic system types.
|
|
|
# The portable systems comes first.
|
|
@@ -1703,12 +1711,12 @@ case $os in
|
|
|
| nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
|
|
|
| clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
|
|
|
| mirbsd* | netbsd* | dicos* | openedition* | ose* \
|
|
|
- | bitrig* | openbsd* | solidbsd* | libertybsd* | os108* \
|
|
|
+ | bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \
|
|
|
| ekkobsd* | freebsd* | riscix* | lynxos* | os400* \
|
|
|
| bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
|
|
|
| ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
|
|
|
| udi* | lites* | ieee* | go32* | aux* | hcos* \
|
|
|
- | chorusrdb* | cegcc* | glidix* \
|
|
|
+ | chorusrdb* | cegcc* | glidix* | serenity* \
|
|
|
| cygwin* | msys* | pe* | moss* | proelf* | rtems* \
|
|
|
| midipix* | mingw32* | mingw64* | mint* \
|
|
|
| uxpv* | beos* | mpeix* | udk* | moxiebox* \
|
|
@@ -1750,6 +1758,8 @@ case $kernel-$os in
|
|
|
;;
|
|
|
kfreebsd*-gnu* | kopensolaris*-gnu*)
|
|
|
;;
|
|
|
+ vxworks-simlinux | vxworks-simwindows | vxworks-spe)
|
|
|
+ ;;
|
|
|
nto-qnx*)
|
|
|
;;
|
|
|
os2-emx)
|