aboutsummaryrefslogtreecommitdiff
path: root/libgo/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2015-09-15 21:15:37 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-09-15 21:15:37 +0000
commita2bf11d16a01ced5d2bd0500a6896627b7bed076 (patch)
treecc1561d9c684e30e43f7804a87ab7caab0047110 /libgo/testsuite
parentc8338173d725ca0690f25f54e04171ed6cad6be9 (diff)
downloadgcc-a2bf11d16a01ced5d2bd0500a6896627b7bed076.zip
gcc-a2bf11d16a01ced5d2bd0500a6896627b7bed076.tar.gz
gcc-a2bf11d16a01ced5d2bd0500a6896627b7bed076.tar.bz2
libgo: If compiler can split-stack and linker can not, use -fno-split-stack.
If the compiler supports split-stack but we are using a gold linker that does not, as happens on PPC with current GCC but old gold, then we need to compile the Go code with -fno-split-stack to avoid a linker error avoid the inability to call from split-stack code to non-split-stack code. Reviewed-on: https://go-review.googlesource.com/14598 From-SVN: r227811
Diffstat (limited to 'libgo/testsuite')
-rw-r--r--libgo/testsuite/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/testsuite/Makefile.in b/libgo/testsuite/Makefile.in
index b4547a3..ba04a50 100644
--- a/libgo/testsuite/Makefile.in
+++ b/libgo/testsuite/Makefile.in
@@ -108,6 +108,7 @@ GOCFLAGS = @GOCFLAGS@
GOOS = @GOOS@
GO_LIBCALL_OS_ARCH_FILE = @GO_LIBCALL_OS_ARCH_FILE@
GO_LIBCALL_OS_FILE = @GO_LIBCALL_OS_FILE@
+GO_SPLIT_STACK = @GO_SPLIT_STACK@
GO_SYSCALL_OS_ARCH_FILE = @GO_SYSCALL_OS_ARCH_FILE@
GO_SYSCALL_OS_FILE = @GO_SYSCALL_OS_FILE@
GREP = @GREP@