diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-01-20 21:18:37 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-01-20 21:18:37 +0000 |
commit | 84dd833764d7aef792ccb963fc8c1bd20cc1ba1f (patch) | |
tree | 93038434ff16825833e5bb4fd64a08717fe4c31f /libgo/Makefile.am | |
parent | 58c979ed152204a58353601ff0cf6f862f09e49a (diff) |
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244733 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r-- | libgo/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index 14ee9bec2113..515b61b71e4d 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -360,6 +360,11 @@ toolexeclibgotesting_DATA = \ testing/iotest.gox \ testing/quick.gox +toolexeclibgotestinginternaldir = $(toolexeclibgotestingdir)/internal + +toolexeclibgotestinginternal_DATA = \ + testing/internal/testdeps.gox + toolexeclibgotextdir = $(toolexeclibgodir)/text toolexeclibgotext_DATA = \ |