aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/proc.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-09-09 14:00:43 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-09-09 14:00:43 +0000
commita9ca0a9d025cdd0e046b8e0b89fd2f2e3721e203 (patch)
treef63e3e4ba47c181499f2bc6b20e386db22e6ac85 /libgo/runtime/proc.c
parent6f02c138136e54ec525d81e604427782cacec378 (diff)
downloadgcc-a9ca0a9d025cdd0e046b8e0b89fd2f2e3721e203.zip
gcc-a9ca0a9d025cdd0e046b8e0b89fd2f2e3721e203.tar.gz
gcc-a9ca0a9d025cdd0e046b8e0b89fd2f2e3721e203.tar.bz2
runtime: remove remaining use of MAKECONTEXT_STACK_TOP macro
The definition and most uses of MAKECONTEXT_STACK_TOP were removed in https://golang.org/cl/88660043, which removed support for Solaris 8/9. One use of MAKECONTEXT_STACK_TOP was accidentally left in the source code. Remove it now. Reviewed-on: https://go-review.googlesource.com/28911 From-SVN: r240045
Diffstat (limited to 'libgo/runtime/proc.c')
-rw-r--r--libgo/runtime/proc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c
index 59dfc09..7e2b172 100644
--- a/libgo/runtime/proc.c
+++ b/libgo/runtime/proc.c
@@ -2396,9 +2396,6 @@ __go_go(void (*fn)(void*), void* arg)
uc = ucontext_arg(&vnewg->context[0]);
getcontext(uc);
uc->uc_stack.ss_sp = vsp;
-#ifdef MAKECONTEXT_STACK_TOP
- uc->uc_stack.ss_sp += vspsize;
-#endif
uc->uc_stack.ss_size = vspsize;
makecontext(uc, kickoff, 0);