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 runtime: use 64 bits of hash seed on arm64 2020-04-15 14:24:33 -07:00
arch.h
array.h
defs.h
env_posix.c libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
go-assert.c
go-assert.h
go-caller.c libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
go-callers.c libgo: update to almost the 1.14.2 release 2020-04-06 16:37:24 -07:00
go-cdiv.c
go-cgo.c runtime: copy cgo support from Go 1.7 runtime 2016-12-19 18:00:35 +00:00
go-construct-map.c compile, runtime: permit anonymous and empty fields in C header 2019-08-30 21:49:49 +00:00
go-context.S re PR go/92820 (libgo.so.15 has executable stack) 2019-12-05 17:51:10 +00:00
go-ffi.c runtime, reflect: rewrite Go to FFI type conversion in Go 2016-11-18 00:15:38 +00:00
go-fieldtrack.c libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
go-libmain.c runtime: move osinit to Go 2019-08-28 20:39:32 +00:00
go-main.c runtime: move osinit to Go 2019-08-28 20:39:32 +00:00
go-matherr.c
go-memclr.c runtime: mark memequal and memclrNoHeapPointers nosplit 2019-06-25 06:16:21 +00:00
go-memequal.c runtime: mark memequal and memclrNoHeapPointers nosplit 2019-06-25 06:16:21 +00:00
go-nanotime.c libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
go-nosys.c runtime: make go-nosys.c compile with !HAVE_SYSCALL 2017-08-29 20:57:20 +00:00
go-now.c libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
go-reflect-call.c re PR go/91781 (r275691 breaks go test "reflect") 2019-09-17 20:24:00 +00:00
go-setenv.c runtime: don't call __go_alloc/__go_free in environment functions 2016-11-18 16:03:13 +00:00
go-signal.c gccgo: fix runtime compilation on NetBSD 2020-04-20 21:20:53 -07:00
go-string.h
go-unsafe-pointer.c compiler, runtime, reflect: generate hash functions only for map keys 2020-01-02 21:55:32 +00:00
go-unsetenv.c runtime: don't call __go_alloc/__go_free in environment functions 2016-11-18 16:03:13 +00:00
go-unwind.c re PR target/89093 (C++ exception handling clobbers d8 VFP register) 2019-04-24 12:45:45 +00:00
go-varargs.c libgo: fix build on AIX 2019-03-19 14:00:59 +00:00
panic.c libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
print.c compile, runtime: permit anonymous and empty fields in C header 2019-08-30 21:49:49 +00:00
proc.c compile, runtime: permit anonymous and empty fields in C header 2019-08-30 21:49:49 +00:00
rtems-task-variable-add.c
runtime_c.c runtime: call runtime_nanotime1, not runtime_nanotime 2020-01-22 11:14:52 -08:00
runtime.h libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
stack.c re PR go/92605 (r278509 causes/reveals issue in building go library) 2019-11-21 01:06:47 +00:00
yield.c runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00