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 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 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 runtime: don't call __go_alloc/__go_free in environment functions 2016-11-18 16:03:13 +00:00
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_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