From: Ian Lance Taylor Date: Fri, 6 Dec 2019 05:32:49 +0000 (+0000) Subject: re PR go/92810 (Compiling GCC go for aarch64_be-marvell-linux-gnu fails) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9961856c3acb8e7d9def11b58001db6af9f14253;p=gcc.git 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 --- 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