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 Update Go library to last weekly. 2011-10-26 23:57:58 +00:00
array.h compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
defs.h
env_posix.c libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
go-assert.c runtime: Copy runtime_printf from other Go library. 2012-05-24 20:44:34 +00:00
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 runtime: fix misc gcc-isms and undefined behavior 2014-05-28 23:10:47 +00:00
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 runtime: Use __builtin_{inf,nan} rather than INFINITY/NAN. 2012-02-10 00:40:27 +00:00
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 compiler, libgo: Fixes to prepare for 64-bit int. 2012-11-06 18:28:21 +00:00
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.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 runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00