syscall: add Hurd support

Programming / Compilers / GCC - ian [138bc75d-0d04-0410-961f-82ee72b054a4] - 7 February 2019 03:11 EST

Loosely based on a patch by Svante Signell.

Reviewed-on: https://go-review.googlesource.com/c/161518

75b689468ac syscall: add Hurd support
gcc/go/gofrontend/MERGE | 2 +-
.../syscall/{errstr_linux.go => errstr_glibc.go} | 4 +-
libgo/go/syscall/exec_unix.go | 4 +-
libgo/go/syscall/libcall_glibc.go | 135 +++++++++++++++++++++
libgo/go/syscall/libcall_hurd.go | 18 +++
libgo/go/syscall/libcall_hurd_386.go | 11 ++
libgo/go/syscall/libcall_linux.go | 122 -------------------
libgo/go/syscall/libcall_posix.go | 8 --
libgo/go/syscall/libcall_posix_nonhurd.go | 17 +++
.../syscall/{syscall_linux.go => syscall_glibc.go} | 2 +
10 files changed, 189 insertions(+), 134 deletions(-)

Upstream: gcc.gnu.org


  • Share