diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-01-10 19:19:02 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-01-10 19:19:02 +0000 |
commit | fd0c1dd1678d573052799d106f00ddd5505e5bfa (patch) | |
tree | 34b34e772f43c55d03e99b4b25c33db309e9bb94 /libgo/configure | |
parent | ec2f999b10ef09473c1cc227314071712899b2e7 (diff) | |
download | gcc-fd0c1dd1678d573052799d106f00ddd5505e5bfa.zip gcc-fd0c1dd1678d573052799d106f00ddd5505e5bfa.tar.gz gcc-fd0c1dd1678d573052799d106f00ddd5505e5bfa.tar.bz2 |
libgo: add platform support for SuperH
Reviewed-on: https://go-review.googlesource.com/84555
From-SVN: r256446
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/libgo/configure b/libgo/configure index eeccf25..28e283c 100755 --- a/libgo/configure +++ b/libgo/configure @@ -13645,10 +13645,10 @@ esac # supported by the gofrontend and all architectures supported by the # gc toolchain. # N.B. Keep in sync with gcc/testsuite/go.test/go-test.exp (go-set-goarch). -ALLGOARCH="386 alpha amd64 amd64p32 arm armbe arm64 arm64be ia64 m68k mips mipsle mips64 mips64le mips64p32 mips64p32le ppc ppc64 ppc64le s390 s390x sparc sparc64" +ALLGOARCH="386 alpha amd64 amd64p32 arm armbe arm64 arm64be ia64 m68k mips mipsle mips64 mips64le mips64p32 mips64p32le ppc ppc64 ppc64le s390 s390x sh shbe sparc sparc64" # All known GOARCH_FAMILY values. -ALLGOARCHFAMILY="I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 PPC PPC64 S390 S390X SPARC SPARC64" +ALLGOARCHFAMILY="I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 PPC PPC64 S390 S390X SH SPARC SPARC64" GOARCH=unknown GOARCH_FAMILY=unknown @@ -13851,6 +13851,36 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext GOARCH_CACHELINESIZE=256 GOARCH_PCQUANTUM=2 ;; + sh3eb*-*-*) + GOARCH=shbe + GOARCH_FAMILY=SH + GOARCH_BIGENDIAN=true + GOARCH_CACHELINESIZE=16 + GOARCH_PCQUANTUM=2 + GOARCH_MINFRAMESIZE=4 + ;; + sh3*-*-*) + GOARCH=sh + GOARCH_FAMILY=SH + GOARCH_CACHELINESIZE=16 + GOARCH_PCQUANTUM=2 + GOARCH_MINFRAMESIZE=4 + ;; + sh4eb*-*-*) + GOARCH=shbe + GOARCH_FAMILY=SH + GOARCH_BIGENDIAN=true + GOARCH_CACHELINESIZE=32 + GOARCH_PCQUANTUM=2 + GOARCH_MINFRAMESIZE=4 + ;; + sh4*-*-*) + GOARCH=sh + GOARCH_FAMILY=SH + GOARCH_CACHELINESIZE=32 + GOARCH_PCQUANTUM=2 + GOARCH_MINFRAMESIZE=4 + ;; sparc*-*-*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ |