gcc/libgo/go
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
..
archive libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
bufio libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
builtin libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
bytes libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
cmd libgo: add 32-bit RISC-V (RV32) support 2020-09-30 19:47:48 -07:00
compress libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
container libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
context libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
crypto libgo: update to Go1.15rc2 release 2020-08-07 17:22:33 -07:00
database/sql libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
debug libgo: add 32-bit RISC-V (RV32) support 2020-09-30 19:47:48 -07:00
encoding libgo: update to Go1.15rc2 release 2020-08-07 17:22:33 -07:00
errors libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
expvar libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
flag libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
fmt libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
go libgo: add 32-bit RISC-V (RV32) support 2020-09-30 19:47:48 -07:00
golang.org/x libgo: add 32-bit RISC-V (RV32) support 2020-09-30 19:47:48 -07:00
hash libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
html libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
image libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
index/suffixarray libgo: compile examples in _test packages 2020-01-09 23:14:57 +00:00
internal reflect: ensure uniqueness of type descriptors on AIX. 2020-10-13 17:54:37 -07:00
io libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
log libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
math libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
mime libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
net net: add hurd build tag 2020-09-28 16:16:54 -07:00
os libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
path libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
plugin libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
reflect reflect: ensure uniqueness of type descriptors on AIX. 2020-10-13 17:54:37 -07:00
regexp libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
runtime libgo: export NetBSD-specific types in mksysinfo.sh 2020-10-14 13:56:01 -07:00
sort libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
strconv libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
strings libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
sync libgo: update to Go1.15.2 release 2020-09-23 17:32:49 -07:00
syscall syscall: only compile ptrace varargs shim on Linux 2020-10-21 22:29:04 -07:00
testdata libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
testing libgo: update to Go1.15.2 release 2020-09-23 17:32:49 -07:00
text libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
time libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
unicode libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00