diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-16 13:37:35 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-16 13:37:35 +0000 |
commit | c9be33212322240706d8ab64fcd2ca2587411d9b (patch) | |
tree | 6498d5bbb529f709c89be1d24f7ae51002695c03 /libgo/runtime | |
parent | 1b0e1765e8ba2bceb3975f39785f149afea4b666 (diff) | |
download | gcc-c9be33212322240706d8ab64fcd2ca2587411d9b.tar.gz |
runtime: Fix build on systems without split stack.
From Uros Bizjak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203703 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime')
-rw-r--r-- | libgo/runtime/go-signal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/runtime/go-signal.c b/libgo/runtime/go-signal.c index af99ddefeb1..23a94db4157 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 |