update config.guess and config.sub from git://git.sv.gnu.org/config.git

(cherry picked from commit 56d43ee296)
This commit is contained in:
Ozkan Sezer
2025-08-28 11:22:50 +03:00
parent 54772f345a
commit f610a3d66b
2 changed files with 29 additions and 16 deletions

View File

@@ -1,10 +1,10 @@
#! /bin/sh #! /bin/sh
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright 1992-2024 Free Software Foundation, Inc. # Copyright 1992-2025 Free Software Foundation, Inc.
# shellcheck disable=SC2006,SC2268 # see below for rationale # shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2024-07-27' timestamp='2025-07-10'
# This file is free software; you can redistribute it and/or modify it # 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 # under the terms of the GNU General Public License as published by
@@ -60,7 +60,7 @@ version="\
GNU config.guess ($timestamp) GNU config.guess ($timestamp)
Originally written by Per Bothner. Originally written by Per Bothner.
Copyright 1992-2024 Free Software Foundation, Inc. Copyright 1992-2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -1597,8 +1597,11 @@ EOF
*:Unleashed:*:*) *:Unleashed:*:*)
GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
;; ;;
*:Ironclad:*:*) x86_64:[Ii]ronclad:*:*|i?86:[Ii]ronclad:*:*)
GUESS=$UNAME_MACHINE-unknown-ironclad GUESS=$UNAME_MACHINE-pc-ironclad-mlibc
;;
*:[Ii]ronclad:*:*)
GUESS=$UNAME_MACHINE-unknown-ironclad-mlibc
;; ;;
esac esac
@@ -1808,8 +1811,8 @@ fi
exit 1 exit 1
# Local variables: # Local variables:
# eval: (add-hook 'before-save-hook 'time-stamp) # eval: (add-hook 'before-save-hook 'time-stamp nil t)
# time-stamp-start: "timestamp='" # time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d" # time-stamp-format: "%Y-%02m-%02d"
# time-stamp-end: "'" # time-stamp-end: "'"
# End: # End:

View File

@@ -1,10 +1,10 @@
#! /bin/sh #! /bin/sh
# Configuration validation subroutine script. # Configuration validation subroutine script.
# Copyright 1992-2024 Free Software Foundation, Inc. # Copyright 1992-2025 Free Software Foundation, Inc.
# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale # shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
timestamp='2024-05-27' timestamp='2025-07-10'
# This file is free software; you can redistribute it and/or modify it # 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 # under the terms of the GNU General Public License as published by
@@ -76,7 +76,7 @@ Report bugs and patches to <config-patches@gnu.org>."
version="\ version="\
GNU config.sub ($timestamp) GNU config.sub ($timestamp)
Copyright 1992-2024 Free Software Foundation, Inc. Copyright 1992-2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -145,6 +145,7 @@ case $1 in
| kfreebsd*-gnu* \ | kfreebsd*-gnu* \
| knetbsd*-gnu* \ | knetbsd*-gnu* \
| kopensolaris*-gnu* \ | kopensolaris*-gnu* \
| ironclad-* \
| linux-* \ | linux-* \
| managarm-* \ | managarm-* \
| netbsd*-eabi* \ | netbsd*-eabi* \
@@ -242,7 +243,6 @@ case $1 in
| rombug \ | rombug \
| semi \ | semi \
| sequent* \ | sequent* \
| siemens \
| sgi* \ | sgi* \
| siemens \ | siemens \
| sim \ | sim \
@@ -261,7 +261,7 @@ case $1 in
basic_machine=$field1-$field2 basic_machine=$field1-$field2
basic_os= basic_os=
;; ;;
zephyr*) tock* | zephyr*)
basic_machine=$field1-unknown basic_machine=$field1-unknown
basic_os=$field2 basic_os=$field2
;; ;;
@@ -1194,7 +1194,7 @@ case $cpu-$vendor in
xscale-* | xscalee[bl]-*) xscale-* | xscalee[bl]-*)
cpu=`echo "$cpu" | sed 's/^xscale/arm/'` cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
;; ;;
arm64-* | aarch64le-*) arm64-* | aarch64le-* | arm64_32-*)
cpu=aarch64 cpu=aarch64
;; ;;
@@ -1321,6 +1321,7 @@ case $cpu-$vendor in
| i960 \ | i960 \
| ia16 \ | ia16 \
| ia64 \ | ia64 \
| intelgt \
| ip2k \ | ip2k \
| iq2000 \ | iq2000 \
| javascript \ | javascript \
@@ -1522,6 +1523,10 @@ EOF
kernel=nto kernel=nto
os=`echo "$basic_os" | sed -e 's|nto|qnx|'` os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
;; ;;
ironclad*)
kernel=ironclad
os=`echo "$basic_os" | sed -e 's|ironclad|mlibc|'`
;;
linux*) linux*)
kernel=linux kernel=linux
os=`echo "$basic_os" | sed -e 's|linux|gnu|'` os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
@@ -1976,6 +1981,7 @@ case $os in
| atheos* \ | atheos* \
| auroraux* \ | auroraux* \
| aux* \ | aux* \
| banan_os* \
| beos* \ | beos* \
| bitrig* \ | bitrig* \
| bme* \ | bme* \
@@ -2022,7 +2028,6 @@ case $os in
| ios* \ | ios* \
| iris* \ | iris* \
| irix* \ | irix* \
| ironclad* \
| isc* \ | isc* \
| its* \ | its* \
| l4re* \ | l4re* \
@@ -2118,6 +2123,7 @@ case $os in
| sysv* \ | sysv* \
| tenex* \ | tenex* \
| tirtos* \ | tirtos* \
| tock* \
| toppers* \ | toppers* \
| tops10* \ | tops10* \
| tops20* \ | tops20* \
@@ -2214,6 +2220,8 @@ case $kernel-$os-$obj in
;; ;;
uclinux-uclibc*- | uclinux-gnu*- ) uclinux-uclibc*- | uclinux-gnu*- )
;; ;;
ironclad-mlibc*-)
;;
managarm-mlibc*- | managarm-kernel*- ) managarm-mlibc*- | managarm-kernel*- )
;; ;;
windows*-msvc*-) windows*-msvc*-)
@@ -2249,6 +2257,8 @@ case $kernel-$os-$obj in
;; ;;
*-eabi*- | *-gnueabi*-) *-eabi*- | *-gnueabi*-)
;; ;;
ios*-simulator- | tvos*-simulator- | watchos*-simulator- )
;;
none--*) none--*)
# None (no kernel, i.e. freestanding / bare metal), # None (no kernel, i.e. freestanding / bare metal),
# can be paired with an machine code file format # can be paired with an machine code file format
@@ -2347,8 +2357,8 @@ echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}"
exit exit
# Local variables: # Local variables:
# eval: (add-hook 'before-save-hook 'time-stamp) # eval: (add-hook 'before-save-hook 'time-stamp nil t)
# time-stamp-start: "timestamp='" # time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d" # time-stamp-format: "%Y-%02m-%02d"
# time-stamp-end: "'" # time-stamp-end: "'"
# End: # End: