]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.5] runtime: make it possible to call syscall on solaris without g
authorShenghou Ma <minux@golang.org>
Fri, 20 Nov 2015 05:23:52 +0000 (00:23 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 23 Nov 2015 01:15:02 +0000 (01:15 +0000)
commit497e4a8093939f53861d48a0afc081183f7032f4
treebfc048ac1cb68155cf026c5c667e89af55f8139d
parentedc3452f4aba40ef97961ca43f0ffb60f1e30e9c
[release-branch.go1.5] runtime: make it possible to call syscall on solaris without g

The nosplit stack is now much bigger, so we can afford to allocate
libcall on stack.

Fix asmsysvicall6 to not update errno if g == nil.

These two fixes TestCgoCallbackGC on solaris, which used to stuck
in a loop.

Change-Id: Id1b13be992dae9f059aa3d47ffffd37785300933
Reviewed-on: https://go-review.googlesource.com/17076
Run-TryBot: Minux Ma <minux@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/17140
Reviewed-by: Aram Hăvărneanu <aram@mgk.ro>
src/runtime/os_solaris.go
src/runtime/sys_solaris_amd64.s