5l, 6l, 8l: fix stack split logic for stacks near default segment size

Fixes #3310.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5823051
This commit is contained in:
Russ Cox 2012-03-15 15:22:30 -04:00
parent b7b3652414
commit 9e5db8c90a
10 changed files with 1587 additions and 8 deletions

View file

@ -19,7 +19,9 @@ var F64toint = f64toint
func entersyscall()
func exitsyscall()
func golockedOSThread() bool
func stackguard() (sp, limit uintptr)
var Entersyscall = entersyscall
var Exitsyscall = exitsyscall
var LockedOSThread = golockedOSThread
var Stackguard = stackguard