11#! /bin/sh
22# Configuration validation subroutine script.
3- # Copyright 1992-2024 Free Software Foundation, Inc.
3+ # Copyright 1992-2025 Free Software Foundation, Inc.
44
55# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
66
7- timestamp=' 2024-05-27 '
7+ timestamp=' 2025-07-10 '
88
99# This file is free software; you can redistribute it and/or modify it
1010# 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>."
7676version=" \
7777GNU config.sub ($timestamp )
7878
79- Copyright 1992-2024 Free Software Foundation, Inc.
79+ Copyright 1992-2025 Free Software Foundation, Inc.
8080
8181This is free software; see the source for copying conditions. There is NO
8282warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -145,6 +145,7 @@ case $1 in
145145 | kfreebsd* -gnu* \
146146 | knetbsd* -gnu* \
147147 | kopensolaris* -gnu* \
148+ | ironclad-* \
148149 | linux-* \
149150 | managarm-* \
150151 | netbsd* -eabi* \
@@ -242,7 +243,6 @@ case $1 in
242243 | rombug \
243244 | semi \
244245 | sequent* \
245- | siemens \
246246 | sgi* \
247247 | siemens \
248248 | sim \
@@ -261,7 +261,7 @@ case $1 in
261261 basic_machine=$field1 -$field2
262262 basic_os=
263263 ;;
264- zephyr* )
264+ tock * | zephyr* )
265265 basic_machine=$field1 -unknown
266266 basic_os=$field2
267267 ;;
@@ -1194,7 +1194,7 @@ case $cpu-$vendor in
11941194 xscale-* | xscalee[bl]-* )
11951195 cpu=` echo " $cpu " | sed ' s/^xscale/arm/' `
11961196 ;;
1197- arm64-* | aarch64le-* )
1197+ arm64-* | aarch64le-* | arm64_32- * )
11981198 cpu=aarch64
11991199 ;;
12001200
@@ -1321,6 +1321,7 @@ case $cpu-$vendor in
13211321 | i960 \
13221322 | ia16 \
13231323 | ia64 \
1324+ | intelgt \
13241325 | ip2k \
13251326 | iq2000 \
13261327 | javascript \
@@ -1522,6 +1523,10 @@ EOF
15221523 kernel=nto
15231524 os=` echo " $basic_os " | sed -e ' s|nto|qnx|' `
15241525 ;;
1526+ ironclad* )
1527+ kernel=ironclad
1528+ os=` echo " $basic_os " | sed -e ' s|ironclad|mlibc|' `
1529+ ;;
15251530 linux* )
15261531 kernel=linux
15271532 os=` echo " $basic_os " | sed -e ' s|linux|gnu|' `
@@ -1976,6 +1981,7 @@ case $os in
19761981 | atheos* \
19771982 | auroraux* \
19781983 | aux* \
1984+ | banan_os* \
19791985 | beos* \
19801986 | bitrig* \
19811987 | bme* \
@@ -2022,7 +2028,6 @@ case $os in
20222028 | ios* \
20232029 | iris* \
20242030 | irix* \
2025- | ironclad* \
20262031 | isc* \
20272032 | its* \
20282033 | l4re* \
@@ -2118,6 +2123,7 @@ case $os in
21182123 | sysv* \
21192124 | tenex* \
21202125 | tirtos* \
2126+ | tock* \
21212127 | toppers* \
21222128 | tops10* \
21232129 | tops20* \
@@ -2214,6 +2220,8 @@ case $kernel-$os-$obj in
22142220 ;;
22152221 uclinux-uclibc* - | uclinux-gnu* - )
22162222 ;;
2223+ ironclad-mlibc* -)
2224+ ;;
22172225 managarm-mlibc* - | managarm-kernel* - )
22182226 ;;
22192227 windows* -msvc* -)
@@ -2249,6 +2257,8 @@ case $kernel-$os-$obj in
22492257 ;;
22502258 * -eabi* - | * -gnueabi* -)
22512259 ;;
2260+ ios* -simulator- | tvos* -simulator- | watchos* -simulator- )
2261+ ;;
22522262 none--* )
22532263 # None (no kernel, i.e. freestanding / bare metal),
22542264 # can be paired with an machine code file format
@@ -2347,8 +2357,8 @@ echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}"
23472357exit
23482358
23492359# Local variables:
2350- # eval: (add-hook 'before-save-hook 'time-stamp)
2360+ # eval: (add-hook 'before-save-hook 'time-stamp nil t )
23512361# time-stamp-start: "timestamp='"
2352- # time-stamp-format: "%:y -%02m-%02d"
2362+ # time-stamp-format: "%Y -%02m-%02d"
23532363# time-stamp-end: "'"
23542364# End:
0 commit comments