1
0
mirror of https://github.com/golang/go synced 2024-11-26 11:58:07 -07: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
gmp
life
nocgo
stdio
test cmd/cgo: update to handle ast.IndexListExpr 2021-10-07 18:02:14 +00:00
testasan
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
testplugin
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
testso
testsovar
testtls