]> Cypherpunks repositories - gostls13.git/commit
runtime: fix openbsd build
authorDmitriy Vyukov <dvyukov@google.com>
Mon, 29 Jul 2013 18:58:58 +0000 (22:58 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Mon, 29 Jul 2013 18:58:58 +0000 (22:58 +0400)
commitddc01d5b06b7a5206bd100e99ce72bc888da3b05
tree2131b4714641455a46d5d58c04afae158cc502f9
parentd83688165aabfe31f3501a302f6a8b94393439f3
runtime: fix openbsd build
notetsleep: nosplit stack overflow
        120 assumed on entry to notetsleep
        96 after notetsleep uses 24
        88 on entry to runtime.semasleep
        32 after runtime.semasleep uses 56
        24 on entry to runtime.nanotime
        -8 after runtime.nanotime uses 32

Nanotime seems to be using only 24 bytes of stack space.
Unless I am missing something.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/12041044
src/pkg/runtime/sys_openbsd_amd64.s