1
0
mirror of https://github.com/golang/go synced 2024-09-28 20:24:29 -06:00
go/misc/cgo
Joel Sing 6458b2e8db all: add support for c-archive and c-shared on linux/riscv64
This provides the runtime glue (_rt0_riscv64_linux_lib) for c-archive and c-shared
support, along with enabling both of these buildmodes on linux/riscv64.

Both misc/cgo/testcarchive and misc/cgo/testcshared now pass on this platform.

Fixes #47100

Change-Id: I7ad75b23ae1d592dbac60d15bba557668287711f
Reviewed-on: https://go-review.googlesource.com/c/go/+/334872
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2021-11-03 09:23:34 +00:00
..
errors all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
fortran misc/cgo/fortran: avoid writing to $PWD 2019-11-20 22:37:23 +00:00
gmp all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
life all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
nocgo cmd/ld: really import runtime/cgo for external link 2014-05-20 21:36:50 -07:00
stdio all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
test cmd/cgo: update to handle ast.IndexListExpr 2021-10-07 18:02:14 +00:00
testasan misc: log 'ok' from 'go run' tests on success 2019-11-25 16:43:27 +00:00
testcarchive runtime: install sigPreempt signal handler for c-archive/c-shared 2021-11-03 00:49:50 +00:00
testcshared all: add support for c-archive and c-shared on linux/riscv64 2021-11-03 09:23:34 +00:00
testgodefs cmd/cgo: for godefs, don't let field prefix removal cause duplicates 2021-09-16 23:56:28 +00:00
testplugin misc/cgo/testplugin: skip TestIssue25756pie on darwin/arm64 builder 2021-05-20 01:22:28 +00:00
testsanitizers cmd/dist: add asan tests in misc/cgo/testsanitizers package 2021-11-02 06:21:44 +00:00
testshared Revert "cmd/go: remove support for -buildmode=shared" 2021-10-29 17:32:24 +00:00
testsigfwd misc: log 'ok' from 'go run' tests on success 2019-11-25 16:43:27 +00:00
testso all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
testsovar all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
testtls all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00