aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/asm_amd64.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/asm_amd64.s b/src/runtime/asm_amd64.s
index 13c8de499e..5d163da132 100644
--- a/src/runtime/asm_amd64.s
+++ b/src/runtime/asm_amd64.s
@@ -168,7 +168,7 @@ TEXT runtimeĀ·rt0_go(SB),NOSPLIT|TOPFRAME,$0
// create istack out of the given (operating system) stack.
// _cgo_init may update stackguard.
MOVQ $runtimeĀ·g0(SB), DI
- LEAQ (-64*1024+104)(SP), BX
+ LEAQ (-64*1024)(SP), BX
MOVQ BX, g_stackguard0(DI)
MOVQ BX, g_stackguard1(DI)
MOVQ BX, (g_stack+stack_lo)(DI)