]> Cypherpunks repositories - gostls13.git/commit
runtime: fix windows/386 build
authorRuss Cox <rsc@golang.org>
Tue, 9 Sep 2014 21:12:05 +0000 (17:12 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 9 Sep 2014 21:12:05 +0000 (17:12 -0400)
commitee6c6d96b652cb7003bdb705dcfa617e04777b3d
tree2adf8701b8d9473ac81fe1d7394da54b668f820c
parent16c59acb9790b0d1d17ed45256b95fa60c2e55f1
runtime: fix windows/386 build

The difference between the old and the new (from earlier) code
is that we set stackguard = stack.lo + StackGuard, while the old
code set stackguard = stack.lo. That 512 bytes appears to be
the difference between the profileloop function running and not running.

We don't know how big the system stack is, but it is likely MUCH bigger than 4k.
Give Go/C 8k.

TBR=iant
CC=golang-codereviews
https://golang.org/cl/140440044
src/runtime/memclr_386.s
src/runtime/memclr_amd64.s
src/runtime/sys_windows_386.s