1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
- # Copyright 1992-2024 Free Software Foundation, Inc.
3
+ # Copyright 1992-2025 Free Software Foundation, Inc.
4
4
5
5
# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
6
6
7
- timestamp=' 2024-05-27 '
7
+ timestamp=' 2025-07-10 '
8
8
9
9
# This file is free software; you can redistribute it and/or modify it
10
10
# under the terms of the GNU General Public License as published by
76
76
version=" \
77
77
GNU config.sub ($timestamp )
78
78
79
- Copyright 1992-2024 Free Software Foundation, Inc.
79
+ Copyright 1992-2025 Free Software Foundation, Inc.
80
80
81
81
This is free software; see the source for copying conditions. There is NO
82
82
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -145,6 +145,7 @@ case $1 in
145
145
| kfreebsd* -gnu* \
146
146
| knetbsd* -gnu* \
147
147
| kopensolaris* -gnu* \
148
+ | ironclad-* \
148
149
| linux-* \
149
150
| managarm-* \
150
151
| netbsd* -eabi* \
@@ -242,7 +243,6 @@ case $1 in
242
243
| rombug \
243
244
| semi \
244
245
| sequent* \
245
- | siemens \
246
246
| sgi* \
247
247
| siemens \
248
248
| sim \
@@ -261,7 +261,7 @@ case $1 in
261
261
basic_machine=$field1 -$field2
262
262
basic_os=
263
263
;;
264
- zephyr* )
264
+ tock * | zephyr* )
265
265
basic_machine=$field1 -unknown
266
266
basic_os=$field2
267
267
;;
@@ -1194,7 +1194,7 @@ case $cpu-$vendor in
1194
1194
xscale-* | xscalee[bl]-* )
1195
1195
cpu=` echo " $cpu " | sed ' s/^xscale/arm/' `
1196
1196
;;
1197
- arm64-* | aarch64le-* )
1197
+ arm64-* | aarch64le-* | arm64_32- * )
1198
1198
cpu=aarch64
1199
1199
;;
1200
1200
@@ -1321,6 +1321,7 @@ case $cpu-$vendor in
1321
1321
| i960 \
1322
1322
| ia16 \
1323
1323
| ia64 \
1324
+ | intelgt \
1324
1325
| ip2k \
1325
1326
| iq2000 \
1326
1327
| javascript \
@@ -1522,6 +1523,10 @@ EOF
1522
1523
kernel=nto
1523
1524
os=` echo " $basic_os " | sed -e ' s|nto|qnx|' `
1524
1525
;;
1526
+ ironclad* )
1527
+ kernel=ironclad
1528
+ os=` echo " $basic_os " | sed -e ' s|ironclad|mlibc|' `
1529
+ ;;
1525
1530
linux* )
1526
1531
kernel=linux
1527
1532
os=` echo " $basic_os " | sed -e ' s|linux|gnu|' `
@@ -1976,6 +1981,7 @@ case $os in
1976
1981
| atheos* \
1977
1982
| auroraux* \
1978
1983
| aux* \
1984
+ | banan_os* \
1979
1985
| beos* \
1980
1986
| bitrig* \
1981
1987
| bme* \
@@ -2022,7 +2028,6 @@ case $os in
2022
2028
| ios* \
2023
2029
| iris* \
2024
2030
| irix* \
2025
- | ironclad* \
2026
2031
| isc* \
2027
2032
| its* \
2028
2033
| l4re* \
@@ -2118,6 +2123,7 @@ case $os in
2118
2123
| sysv* \
2119
2124
| tenex* \
2120
2125
| tirtos* \
2126
+ | tock* \
2121
2127
| toppers* \
2122
2128
| tops10* \
2123
2129
| tops20* \
@@ -2214,6 +2220,8 @@ case $kernel-$os-$obj in
2214
2220
;;
2215
2221
uclinux-uclibc* - | uclinux-gnu* - )
2216
2222
;;
2223
+ ironclad-mlibc* -)
2224
+ ;;
2217
2225
managarm-mlibc* - | managarm-kernel* - )
2218
2226
;;
2219
2227
windows* -msvc* -)
@@ -2249,6 +2257,8 @@ case $kernel-$os-$obj in
2249
2257
;;
2250
2258
* -eabi* - | * -gnueabi* -)
2251
2259
;;
2260
+ ios* -simulator- | tvos* -simulator- | watchos* -simulator- )
2261
+ ;;
2252
2262
none--* )
2253
2263
# None (no kernel, i.e. freestanding / bare metal),
2254
2264
# can be paired with an machine code file format
@@ -2347,8 +2357,8 @@ echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}"
2347
2357
exit
2348
2358
2349
2359
# Local variables:
2350
- # eval: (add-hook 'before-save-hook 'time-stamp)
2360
+ # eval: (add-hook 'before-save-hook 'time-stamp nil t )
2351
2361
# time-stamp-start: "timestamp='"
2352
- # time-stamp-format: "%:y -%02m-%02d"
2362
+ # time-stamp-format: "%Y -%02m-%02d"
2353
2363
# time-stamp-end: "'"
2354
2364
# End:
0 commit comments