-
- Downloads
gccgo: fix runtime compilation on NetBSD
si_code in siginfo_t is a macro on NetBSD, not a member of the struct itself, so add a C trampoline for receiving its value. Also replace references to mos.waitsemacount with the replacement and add some helpers from os_netbsd.go in the GC repository. Update golang/go#38538. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/228918
Showing
- gcc/go/gofrontend/MERGE 1 addition, 1 deletiongcc/go/gofrontend/MERGE
- libgo/go/runtime/os_netbsd.go 36 additions, 5 deletionslibgo/go/runtime/os_netbsd.go
- libgo/go/runtime/signal_gccgo.go 1 addition, 1 deletionlibgo/go/runtime/signal_gccgo.go
- libgo/go/runtime/stubs.go 4 additions, 0 deletionslibgo/go/runtime/stubs.go
- libgo/runtime/go-signal.c 12 additions, 0 deletionslibgo/runtime/go-signal.c
Loading
Please register or sign in to comment