From 1c4398015583eb77bc043234f5734be055e64bea Mon Sep 17 00:00:00 2001 From: Rin Okuyama Date: Thu, 22 Oct 2020 00:05:38 +1100 Subject: [PATCH] * config.guess (*:NetBSD:*:*): Handle aarch64eb. * testsuite/config-guess.data: Add test cases. Signed-off-by: Ben Elliston --- ChangeLog | 5 +++++ config.guess | 3 ++- testsuite/config-guess.data | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d8351fb..06a7553 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-10-22 Rin Okuyama + + * config.guess (*:NetBSD:*:*): Handle aarch64eb. + * testsuite/config-guess.data: Add test cases. + 2020-10-13 Ben Elliston * config.sub (i*86-pc-os2-emx): Recognise correctly. diff --git a/config.guess b/config.guess index 8d70ec2..12dd5b4 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2020 Free Software Foundation, Inc. -timestamp='2020-09-19' +timestamp='2020-10-22' # 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 @@ -182,6 +182,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in "/usr/sbin/$sysctl" 2>/dev/null || \ echo unknown)` case "$UNAME_MACHINE_ARCH" in + aarch64eb) machine=aarch64_be-unknown ;; armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data index a99bf8b..2ce2d79 100644 --- a/testsuite/config-guess.data +++ b/testsuite/config-guess.data @@ -27,6 +27,8 @@ cris | 2.6.6 | Linux | ignored | ignored | cris-axis-linux-gnu crisv32 | 2.6.6 | Linux | ignored | ignored | crisv32-axis-linux-gnu e2k | 2.6.32 | Linux | ignored | ignored | e2k-unknown-linux-gnu EM64T | 5.2 | Interix | ignored | ignored | x86_64-unknown-interix5.2 +evbarm | 9.0 | NetBSD | ignored | aarch64 | aarch64-unknown-netbsd9.0 +evbarm | 9.0 | NetBSD | ignored | aarch64eb | aarch64_be-unknown-netbsd9.0 evbarm | 7.0 | NetBSD | ignored | arm | arm-unknown-netbsdelf7.0 evbarm | 7.0 | NetBSD | ignored | armeb | armeb-unknown-netbsdelf7.0 evbarm | 7.0 | NetBSD | ignored | earmv6 | armv6-unknown-netbsdelf7.0-eabi