config.sub: alias aarch64le to aarch64

Apparently, QNX reports aarch64 as aarch64le on little-endian machines.

* config.sub (aarch64le-*): Set cpu to aarch64.
(timestamp): Update.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (aarch64le-qnx): New test.

Reported-by: Elad Lahav <e2lahav@gmail.com>
Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html
This commit is contained in:
Dmitry V. Levin 2021-12-24 17:00:00 +00:00
parent 5b6ae7445c
commit da0f86d042
3 changed files with 5 additions and 4 deletions

4
config.sub vendored
View File

@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale # shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2021-10-27' timestamp='2021-12-24'
# 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
@ -1121,7 +1121,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-*) arm64-* | aarch64le-*)
cpu=aarch64 cpu=aarch64
;; ;;

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH CONFIG.SUB "1" "October 2021" "GNU config.sub (2021-10-27)" "User Commands" .TH CONFIG.SUB "1" "December 2021" "GNU config.sub (2021-12-24)" "User Commands"
.SH NAME .SH NAME
config.sub \- validate and canonicalize a configuration triplet config.sub \- validate and canonicalize a configuration triplet
.SH SYNOPSIS .SH SYNOPSIS

View File

@ -26,6 +26,7 @@ aarch64_be-elf aarch64_be-unknown-elf
aarch64_be-linux aarch64_be-unknown-linux-gnu aarch64_be-linux aarch64_be-unknown-linux-gnu
aarch64_be-unknown-elf aarch64_be-unknown-elf aarch64_be-unknown-elf aarch64_be-unknown-elf
aarch64_be-unknown-linux aarch64_be-unknown-linux-gnu aarch64_be-unknown-linux aarch64_be-unknown-linux-gnu
aarch64le-qnx aarch64-unknown-qnx
abacus abacus-unknown-none abacus abacus-unknown-none
adobe68k m68010-adobe-scout adobe68k m68010-adobe-scout
alliant fx80-alliant-none alliant fx80-alliant-none