config.sub: recognise ARM64EC machine type

ARM64EC is a custom ABI for AArch64 that allows for interoperability
with x86_64 compiled code. While technically just an ABI, it is treated
as its own machine type, with triples in the format arm64ec-*.

* config.sub (arm64ec): Recognize.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (arm64ec-pc-mingw32, arm64ec-windows): New
entries.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
Billy Laws 2023-09-15 23:56:33 +01:00 committed by Dmitry V. Levin
parent 023274ab8d
commit a6976af01b
3 changed files with 5 additions and 3 deletions

4
config.sub vendored
View File

@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2023-08-23'
timestamp='2023-09-15'
# 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
@ -1181,7 +1181,7 @@ case $cpu-$vendor in
case $cpu in
1750a | 580 \
| a29k \
| aarch64 | aarch64_be | aarch64c \
| aarch64 | aarch64_be | aarch64c | arm64ec \
| abacus \
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \

View File

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

View File

@ -106,6 +106,8 @@ arm64-apple-tvos aarch64-apple-tvos
arm64-apple-tvos10.0.0 aarch64-apple-tvos10.0.0
arm64-apple-watchos aarch64-apple-watchos
arm64-apple-watchos5.0 aarch64-apple-watchos5.0
arm64ec-pc-mingw32 arm64ec-pc-mingw32
arm64ec-windows arm64ec-unknown-windows
armbe armbe-unknown-none
armeb-unknown-netbsdelf7.0 armeb-unknown-netbsdelf7.0
armel armel-unknown-none