gcc/libgo/runtime
Nikhil Benesch 439407aa2c syscall: only compile ptrace varargs shim on Linux
Only compile the __go_ptrace varargs shim on Linux to avoid compilation
failures on some other platforms. The C ptrace function is not entirely
portable (e.g., NetBSD has `int data` instead of `void* data`), and so
far Linux is the only platform that needs the varargs shim.

Additionally, make the types in the ptrace and raw_ptrace function
declarations match. This makes it more clear that the only difference
between the two is that calls via the former are allowed to block while
calls via the latter are not.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/263517
2020-10-21 22:29:04 -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
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
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
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
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
go-signal.c runtime: populate signal PC on NetBSD 2020-10-13 22:21: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
go-unwind.c libgo: print reason code if throwing unwind exception fails 2020-10-14 17:00:02 -07:00
go-varargs.c syscall: only compile ptrace varargs shim on Linux 2020-10-21 22:29:04 -07: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.h libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
runtime_c.c runtime: call runtime_nanotime1, not runtime_nanotime 2020-01-22 11:14:52 -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