Add KVX MPPA detection

* config.guess (kvx:Linux:*:*, kvx:cos:*:*, kvx:mbr:*:*): Recognize.
* config.sub (kvx): Recognize cpu.
(cos*, mbr*): Recognize os.
* testsuite/config-guess.data: Add tests for kvx targets.
* testsuite/config-sub.data: Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
This commit is contained in:
Paul Iannetta 2023-07-19 13:16:47 +02:00 committed by Dmitry V. Levin
parent be68d790b6
commit 602766470c
6 changed files with 26 additions and 5 deletions

11
config.guess vendored
View File

@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2023-06-23'
timestamp='2023-07-19'
# 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
@ -1042,6 +1042,15 @@ EOF
k1om:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
kvx:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
kvx:cos:*:*)
GUESS=$UNAME_MACHINE-unknown-cos
;;
kvx:mbr:*:*)
GUESS=$UNAME_MACHINE-unknown-mbr
;;
loongarch32:Linux:*:* | loongarch64:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;

5
config.sub vendored
View File

@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2023-07-13'
timestamp='2023-07-19'
# 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
@ -1206,6 +1206,7 @@ case $cpu-$vendor in
| i370 | i*86 | i860 | i960 | ia16 | ia64 \
| ip2k | iq2000 \
| k1om \
| kvx \
| le32 | le64 \
| lm32 \
| loongarch32 | loongarch64 \
@ -1759,7 +1760,7 @@ case $os in
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
| fiwix* | mlibc* )
| fiwix* | mlibc* | cos* | mbr* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH CONFIG.GUESS "1" "June 2023" "GNU config.guess (2023-06-23)" "User Commands"
.TH CONFIG.GUESS "1" "July 2023" "GNU config.guess (2023-07-19)" "User Commands"
.SH NAME
config.guess \- guess the build system triplet
.SH SYNOPSIS

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH CONFIG.SUB "1" "July 2023" "GNU config.sub (2023-07-13)" "User Commands"
.TH CONFIG.SUB "1" "July 2023" "GNU config.sub (2023-07-19)" "User Commands"
.SH NAME
config.sub \- validate and canonicalize a configuration triplet
.SH SYNOPSIS

View File

@ -92,6 +92,9 @@ i86pc | 5.6 | SunOS | ignored | ignored | i386-pc-solaris2.6
i86xen | 5.0 | AuroraUX | ignored | ignored | i386-pc-auroraux5.0
i86xen | 5.6 | SunOS | ignored | ignored | i386-pc-solaris2.6
k1om | 2.6.38 | Linux | ignored | ignored | k1om-unknown-linux-gnu
kvx | ignored | Linux | ignored | ignored | kvx-unknown-linux-gnu
kvx | ignored | cos | ignored | ignored | kvx-unknown-cos
kvx | ignored | mbr | ignored | ignored | kvx-unknown-mbr
loongarch32 | ignored | Linux | ignored | ignored | loongarch32-unknown-linux-gnu
loongarch64 | ignored | Linux | ignored | ignored | loongarch64-unknown-linux-gnu
m68k | 12.1 | AROS | ignored | ignored | m68k-unknown-aros

View File

@ -343,6 +343,14 @@ j90-cray j90-cray-unicos
j90-unicos j90-cray-unicos
k1om k1om-unknown-none
k1om-linux k1om-unknown-linux-gnu
kvx-cos kvx-unknown-cos
kvx-elf kvx-unknown-elf
kvx-linux kvx-unknown-linux-gnu
kvx-linux-gnu kvx-unknown-linux-gnu
kvx-linux-musl kvx-unknown-linux-musl
kvx-linux-newlib kvx-unknown-linux-newlib
kvx-linux-uclibc kvx-unknown-linux-uclibc
kvx-mbr kvx-unknown-mbr
le32 le32-unknown-none
le32-nacl le32-unknown-nacl
le64 le64-unknown-none