]> Cypherpunks repositories - gostls13.git/commit
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)
committerMinux Ma <minux@golang.org>
Fri, 20 Nov 2015 08:11:35 +0000 (08:11 +0000)
commit35a5bd64315a989a19f49568beddf39ae69ee420
treefca355bfcbddebfd665bbc59983637432c557cdf
parentd6ee6c2d0654b2274fb80a5d1ca6f72f4c2da094
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>
src/runtime/os_solaris.go
src/runtime/sys_solaris_amd64.s