From: Ian Lance Taylor Date: Wed, 16 Oct 2013 13:37:35 +0000 (+0000) Subject: runtime: Fix build on systems without split stack. X-Git-Tag: releases/gcc-4.9.0~3431 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c187e58fa22954fda277ad369a44ca1329e26e60;p=thirdparty%2Fgcc.git runtime: Fix build on systems without split stack. From Uros Bizjak. From-SVN: r203703 --- diff --git a/libgo/runtime/go-signal.c b/libgo/runtime/go-signal.c index af99ddefeb1f..23a94db4157a 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