mirror of
https://github.com/golang/go
synced 2024-11-17 07:04:44 -07:00
runtime: remove 104 byte stack guard
This commit is contained in:
parent
a343f4017b
commit
bcf9000590
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user