From da0f86d042886ef8d77673ed96f9cadded4d94b9 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 24 Dec 2021 17:00:00 +0000 Subject: [PATCH] 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 Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html --- config.sub | 4 ++-- doc/config.sub.1 | 4 ++-- testsuite/config-sub.data | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config.sub b/config.sub index 38f3d03..200e14f 100755 --- a/config.sub +++ b/config.sub @@ -4,7 +4,7 @@ # 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 # under the terms of the GNU General Public License as published by @@ -1121,7 +1121,7 @@ case $cpu-$vendor in xscale-* | xscalee[bl]-*) cpu=`echo "$cpu" | sed 's/^xscale/arm/'` ;; - arm64-*) + arm64-* | aarch64le-*) cpu=aarch64 ;; diff --git a/doc/config.sub.1 b/doc/config.sub.1 index 3f5b274..3098672 100644 --- a/doc/config.sub.1 +++ b/doc/config.sub.1 @@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. -.TH CONFIG.SUB "1" "October 2021" "GNU config.sub (2021-10-27)" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. +.TH CONFIG.SUB "1" "December 2021" "GNU config.sub (2021-12-24)" "User Commands" .SH NAME config.sub \- validate and canonicalize a configuration triplet .SH SYNOPSIS diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index d911c5b..44bd2f1 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -26,6 +26,7 @@ aarch64_be-elf aarch64_be-unknown-elf aarch64_be-linux aarch64_be-unknown-linux-gnu aarch64_be-unknown-elf aarch64_be-unknown-elf aarch64_be-unknown-linux aarch64_be-unknown-linux-gnu +aarch64le-qnx aarch64-unknown-qnx abacus abacus-unknown-none adobe68k m68010-adobe-scout alliant fx80-alliant-none