diff --git a/ChangeLog b/ChangeLog index 80e72b8..49d5b9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-07-12 Ben Elliston + + * config.guess (arm64:Darwin:*:*): Recognise. + * testsuite/config-guess.data: Add a test case. + 2020-07-10 Ben Elliston * config.sub (case $cpu): Whitespace fix. diff --git a/config.guess b/config.guess index 92bfc33..e94095c 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-04-26' +timestamp='2020-07-12' # 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 @@ -1342,6 +1342,9 @@ EOF *:Rhapsody:*:*) echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" exit ;; + arm64:Darwin:*:*) + echo aarch64-apple-darwin"$UNAME_RELEASE" + exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` case $UNAME_PROCESSOR in diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data index 2c07d9a..a99bf8b 100644 --- a/testsuite/config-guess.data +++ b/testsuite/config-guess.data @@ -16,6 +16,7 @@ arm | 12.0 | FreeBSD | ignored | armv7 | armv7-unknown-freebsd12.0-gnueabihf arm | ignored | Linux | ignored | ignored | arm-unknown-linux-gnueabihf arm | ignored | riscos | ignored | ignored | arm-unknown-riscos arm | ignored | RISCOS | ignored | ignored | arm-unknown-riscos +arm64 | 20.0.0 | Darwin | ignored | arm | aarch64-apple-darwin20.0.0 armv4l | ignored | riscos | ignored | ignored | arm-unknown-riscos authenticamd | 6.0 | Interix | ignored | ignored | x86_64-unknown-interix6.0 avr32 | 2.6.15 | Linux | ignored | ignored | avr32-unknown-linux-gnu