runtime: Fix build on systems without split stack.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 16 Oct 2013 13:37:35 +0000 (13:37 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 16 Oct 2013 13:37:35 +0000 (13:37 +0000)
From Uros Bizjak.

From-SVN: r203703

libgo/runtime/go-signal.c

index af99ddefeb1f0fe62d5f3bae273fba3f8417a546..23a94db4157ad1a48670b2718f59e7f70ef95995 100644 (file)
@@ -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