diff options
| author | Russ Cox <rsc@golang.org> | 2014-09-09 17:16:31 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-09 17:16:31 -0400 |
| commit | f9829e92e196cdae33e256dd82c690c7beba76ed (patch) | |
| tree | d98dfb3e71c5838a2b182a981efd7aca67dfe2d2 /src/runtime/sys_plan9_amd64.s | |
| parent | ee6c6d96b652cb7003bdb705dcfa617e04777b3d (diff) | |
| download | go-f9829e92e196cdae33e256dd82c690c7beba76ed.tar.xz | |
runtime: fix plan9/amd64 build?
The only thing I can see that is really Plan 9-specific
is that the stack pointer used for signal handling used
to have more mapped memory above it.
Specifically it used to have at most 88 bytes (StackTop),
so change the allocation of a 40-byte frame to a 128-byte frame.
No idea if this will work, but worth a try.
Note that "fix" here means get it back to timing out
instead of crashing.
TBR=iant
CC=golang-codereviews
https://golang.org/cl/142840043
Diffstat (limited to 'src/runtime/sys_plan9_amd64.s')
| -rw-r--r-- | src/runtime/sys_plan9_amd64.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_plan9_amd64.s b/src/runtime/sys_plan9_amd64.s index d0586a5ae9..36d2d97e20 100644 --- a/src/runtime/sys_plan9_amd64.s +++ b/src/runtime/sys_plan9_amd64.s @@ -194,7 +194,7 @@ TEXT runtimeĀ·sigtramp(SB),NOSPLIT,$0 MOVQ BP, SP // make room for args and g - SUBQ $40, SP + SUBQ $128, SP // save g MOVQ g(AX), BP |
