runtime, testing/internal/testdeps: fixes for cgo
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 20 Jan 2017 21:18:37 +0000 (21:18 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 20 Jan 2017 21:18:37 +0000 (21:18 +0000)
commit4a5b806048bb94e2adcd34ea11ae27ca4030051f
tree93038434ff16825833e5bb4fd64a08717fe4c31f
parenta876231c40c9e3488d91bd64aa7a12c939babe51
runtime, testing/internal/testdeps: fixes for cgo

    Some fixes that permit misc/cgo/test in the master gc repository to
    pass using the current gccgo.

    Install testing/internal/testdeps.gox; it is needed by `go test`.

    Export runtime.lockedOSThread to enable calling via go:linkname; it is
    used by misc/cgo/test.

    Loop on EAGAIN when creating a new thread; this is what the gc code
    does, and misc/cgo/test tests that it works.

    Reviewed-on: https://go-review.googlesource.com/35479

From-SVN: r244733
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/runtime/proc.go
libgo/runtime/proc.c