1
# DP: Introduce aarch64 goarch.
3
--- a/src/libgo/go/go/build/syslist.go
4
+++ a/src/libgo/go/go/build/syslist.go
8
const goosList = "darwin dragonfly freebsd linux netbsd openbsd plan9 windows solaris "
9
-const goarchList = "386 amd64 arm alpha m68k mipso32 mipsn32 mipsn64 mipso64 ppc ppc64 sparc sparc64 "
10
+const goarchList = "386 amd64 arm aarch64 alpha m68k mipso32 mipsn32 mipsn64 mipso64 ppc ppc64 sparc sparc64 "
11
--- a/src/libgo/configure.ac
12
+++ a/src/libgo/configure.ac
15
dnl N.B. Keep in sync with gcc/testsuite/go.test/go-test.exp (go-set-goarch).
35
AM_CONDITIONAL(LIBGO_IS_386, test $is_386 = yes)
36
+AM_CONDITIONAL(LIBGO_IS_AARCH64, test $is_aarch64 = yes)
37
AM_CONDITIONAL(LIBGO_IS_ALPHA, test $is_alpha = yes)
38
AM_CONDITIONAL(LIBGO_IS_ARM, test $is_arm = yes)
39
AM_CONDITIONAL(LIBGO_IS_M68K, test $is_m68k = yes)
40
--- a/src/gcc/testsuite/go.test/go-test.exp
41
+++ a/src/gcc/testsuite/go.test/go-test.exp
45
switch -glob $target_triplet {
47
+ set goarch "aarch64"