gcc/libgo/runtime
Benny Siegert 8e841bd419 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
2020-04-20 21:20:53 -07:00
..
aeshash.c
arch.h
array.h
defs.h
env_posix.c
go-assert.c
go-assert.h
go-caller.c
go-callers.c
go-cdiv.c
go-cgo.c
go-construct-map.c
go-context.S
go-ffi.c
go-fieldtrack.c
go-libmain.c
go-main.c
go-matherr.c
go-memclr.c
go-memequal.c
go-nanotime.c
go-nosys.c
go-now.c
go-reflect-call.c
go-setenv.c
go-signal.c gccgo: fix runtime compilation on NetBSD 2020-04-20 21:20:53 -07:00
go-string.h
go-unsafe-pointer.c
go-unsetenv.c
go-unwind.c
go-varargs.c
panic.c
print.c
proc.c
rtems-task-variable-add.c
runtime_c.c
runtime.h
stack.c
yield.c