From c187e58fa22954fda277ad369a44ca1329e26e60 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 16 Oct 2013 13:37:35 +0000 Subject: [PATCH] runtime: Fix build on systems without split stack. From Uros Bizjak. From-SVN: r203703 --- libgo/runtime/go-signal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libgo/runtime/go-signal.c b/libgo/runtime/go-signal.c index af99dde..23a94db 100644 --- a/libgo/runtime/go-signal.c +++ b/libgo/runtime/go-signal.c @@ -399,7 +399,9 @@ sig_tramp_info (int sig, Siginfo *info, void *context) { G *gp; M *mp; +#ifdef USING_SPLIT_STACK void *stack_context[10]; +#endif /* We are now running on the stack registered via sigaltstack. (Actually there is a small span of time between runtime_siginit -- 2.7.4