From 9961856c3acb8e7d9def11b58001db6af9f14253 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 6 Dec 2019 05:32:49 +0000 Subject: [PATCH] re PR go/92810 (Compiling GCC go for aarch64_be-marvell-linux-gnu fails) PR go/92810 libgo: recognize aarch64_be as arm64be Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/210038 From-SVN: r279032 --- gcc/go/gofrontend/MERGE | 2 +- libgo/configure | 3 +++ libgo/configure.ac | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 917d7bcc8e5..6d61cd1e8bd 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -a59794347b9db6dc2101a65c3e1a068051c0ee81 +e32651d37e0c43bb7595ac94363b079610bed746 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/configure b/libgo/configure index ba80569e26d..6a65a60e4a9 100755 --- a/libgo/configure +++ b/libgo/configure @@ -14056,6 +14056,9 @@ case ${host} in aarch64-*-*) GOARCH=arm64 ;; + aarch64_be-*-*) + GOARCH=arm64be + ;; arm*-*-* | strongarm*-*-* | ep9312*-*-* | xscale-*-*) GOARCH=arm case ${host} in diff --git a/libgo/configure.ac b/libgo/configure.ac index 00b4054a0ee..d4ee59ca685 100644 --- a/libgo/configure.ac +++ b/libgo/configure.ac @@ -240,6 +240,9 @@ case ${host} in aarch64-*-*) GOARCH=arm64 ;; + aarch64_be-*-*) + GOARCH=arm64be + ;; arm*-*-* | strongarm*-*-* | ep9312*-*-* | xscale-*-*) GOARCH=arm case ${host} in -- 2.30.2