]> Cypherpunks repositories - gostls13.git/commit
runtime: use named macros on NetBSD
authorMaya Rashish <maya@netbsd.org>
Mon, 22 Apr 2019 10:01:22 +0000 (10:01 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 22 Apr 2019 17:19:23 +0000 (17:19 +0000)
commitd1f43ccef7a8285bf3bcd3518d4f38838ce5da1c
treef2512d6c772f2c64d795aad49ccc694018810a88
parent744fcfec4e94d9585d2be6f9efae8480a2f2fc8d
runtime: use named macros on NetBSD

It will use the full names that appear in netbsd's /usr/include/sys/syscall.h names.
This adds some compat-goo (sys_sigprocmask->SYS_sigprocmask14), which might not be pretty, but the information about whether the compat version is used is probably important, as Go will keep using interfaces even after they are considered compatibility, which has caused problems in the past.
also, the same names appear in ktrace (with the numbers).

Change-Id: Idc1bb254ee33757a39ba224d91e8fbb0331e2149
GitHub-Last-Rev: b915e8f8a323cdc2d03119c3cf18e35d08c63d18
GitHub-Pull-Request: golang/go#31594
Reviewed-on: https://go-review.googlesource.com/c/go/+/173158
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/sys_netbsd_386.s
src/runtime/sys_netbsd_amd64.s
src/runtime/sys_netbsd_arm.s
src/runtime/sys_netbsd_arm64.s