aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-11-11 14:52:35 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-11-11 14:52:35 +0000
commit0f366729b9b0e39922ee5f1cbe021226b35ee65a (patch)
tree2a9993e7952960c8197217710f385d472912a604 /libgo
parentd9ab7525e55c62ce4b157ada5f21c67fa43ee429 (diff)
downloadgcc-0f366729b9b0e39922ee5f1cbe021226b35ee65a.zip
gcc-0f366729b9b0e39922ee5f1cbe021226b35ee65a.tar.gz
gcc-0f366729b9b0e39922ee5f1cbe021226b35ee65a.tar.bz2
libgo: fix GOARCH_INT64ALIGN for several targets
From Andreas Schwab. Reviewed-on: https://go-review.googlesource.com/33130 From-SVN: r242072
Diffstat (limited to 'libgo')
-rwxr-xr-xlibgo/configure6
-rw-r--r--libgo/configure.ac6
2 files changed, 2 insertions, 10 deletions
diff --git a/libgo/configure b/libgo/configure
index 7a9df58..adabb74 100755
--- a/libgo/configure
+++ b/libgo/configure
@@ -13648,7 +13648,6 @@ case ${host} in
GOARCH_FAMILY=ARM
GOARCH_CACHELINESIZE=32
GOARCH_PCQUANTUM=4
- GOARCH_INT64ALIGN=4
GOARCH_MINFRAMESIZE=4
;;
i[34567]86-*-* | x86_64-*-*)
@@ -13685,7 +13684,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
GOARCH_BIGENDIAN=1
GOARCH_CACHELINESIZE=16
GOARCH_PCQUANTUM=4
- GOARCH_INT64ALIGN=4
+ GOARCH_INT64ALIGN=2
;;
mips*-*-*)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13747,7 +13746,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
case "$mips_abi" in
"o32" | "n32")
GOARCH_FAMILY=MIPS
- GOARCH_INT64ALIGN=4
GOARCH_MINFRAMESIZE=4
;;
"n64" | "o64")
@@ -13778,7 +13776,6 @@ if ac_fn_c_try_compile "$LINENO"; then :
GOARCH=ppc
GOARCH_FAMILY=PPC
GOARCH_BIGENDIAN=1
-GOARCH_INT64ALIGN=4
else
@@ -13816,7 +13813,6 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
GOARCH=s390
GOARCH_FAMILY=S390
-GOARCH_INT64ALIGN=4
GOARCH_MINFRAMESIZE=4
else
diff --git a/libgo/configure.ac b/libgo/configure.ac
index ed2edd3..09add8d 100644
--- a/libgo/configure.ac
+++ b/libgo/configure.ac
@@ -230,7 +230,6 @@ case ${host} in
GOARCH_FAMILY=ARM
GOARCH_CACHELINESIZE=32
GOARCH_PCQUANTUM=4
- GOARCH_INT64ALIGN=4
GOARCH_MINFRAMESIZE=4
;;
changequote(,)dnl
@@ -262,7 +261,7 @@ GOARCH_HUGEPAGESIZE="1 << 21"
GOARCH_BIGENDIAN=1
GOARCH_CACHELINESIZE=16
GOARCH_PCQUANTUM=4
- GOARCH_INT64ALIGN=4
+ GOARCH_INT64ALIGN=2
;;
mips*-*-*)
AC_COMPILE_IFELSE([
@@ -296,7 +295,6 @@ GOARCH_HUGEPAGESIZE="1 << 21"
case "$mips_abi" in
"o32" | "n32")
GOARCH_FAMILY=MIPS
- GOARCH_INT64ALIGN=4
GOARCH_MINFRAMESIZE=4
;;
"n64" | "o64")
@@ -323,7 +321,6 @@ GOARCH_HUGEPAGESIZE="1 << 21"
[GOARCH=ppc
GOARCH_FAMILY=PPC
GOARCH_BIGENDIAN=1
-GOARCH_INT64ALIGN=4
],
[
GOARCH_FAMILY=PPC64
@@ -347,7 +344,6 @@ GOARCH_BIGENDIAN=1
#endif],
[GOARCH=s390
GOARCH_FAMILY=S390
-GOARCH_INT64ALIGN=4
GOARCH_MINFRAMESIZE=4
], [GOARCH=s390x
GOARCH_FAMILY=S390X