From 3c20dd431e06337a8b49d8bf791a6a19523a34a4 Mon Sep 17 00:00:00 2001
From: Keno Fischer <keno@juliacomputing.com>
Date: Fri, 10 Jul 2020 15:45:29 +1000
Subject: [PATCH 1/1] 	* config.sub (arm64-*): Canonicalise to aarch64-*.

Signed-off-by: Ben Elliston <bje@gnu.org>
---
 ChangeLog                 | 4 ++++
 config.sub                | 3 +++
 testsuite/config-sub.data | 2 ++
 3 files changed, 9 insertions(+)

diff --git a/build-aux/config.sub b/build-aux/config.sub
index ce89d5c..0634942 100755
--- a/build-aux/config.sub
+++ b/build-aux/config.sub
@@ -1104,6 +1104,9 @@ case $cpu-$vendor in
 	xscale-* | xscalee[bl]-*)
 		cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
 		;;
+	arm64-*)
+		cpu=aarch64
+		;;
 
 	# Recognize the canonical CPU Types that limit and/or modify the
 	# company names they are paired with.


