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
..
2011-10-26 23:57:58 +00:00
2019-02-01 21:57:36 +00:00
2020-01-21 23:53:22 -08:00
2019-08-28 20:39:32 +00:00
2019-08-28 20:39:32 +00:00
2020-01-21 23:53:22 -08:00
2020-01-21 23:53:22 -08:00
2019-03-19 14:00:59 +00:00
2019-09-06 18:12:46 +00:00
2020-01-21 23:53:22 -08:00