libgo: Solaris portability fixes.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 6 Nov 2015 19:15:45 +0000 (19:15 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 6 Nov 2015 19:15:45 +0000 (19:15 +0000)
commit9da92cbda9b73a179f031d4d362b5374f9fcaa09
tree3c89e373addb3b0abe146e923891ebbdfc72ced5
parente78d485eb842bfe4209cec9da3725f5ef6a74abb
libgo: Solaris portability fixes.

    Only build net/hook_cloexec.go on GNU/Linux and FreeBSD, because those
    are the only systems with accept4.

    Add syscall/libcall_bsd.go to define sendfile for *BSD and Solaris.

    Revert tcpsockopt_solaris.go back to the earlier version, so that it
    works on Solaris 10.

    Always pass the address of a Pid_t value to TIOCGPGRP and TIOCSPGRP.

    Include <unistd.h> in runtime/go-varargs.c.

    Reviewed-on: https://go-review.googlesource.com/16719

From-SVN: r229880
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/net/tcpsockopt_solaris.go
libgo/go/syscall/exec_bsd.go
libgo/go/syscall/exec_linux.go
libgo/go/syscall/exec_unix.go
libgo/go/syscall/exec_unix_test.go
libgo/go/syscall/libcall_bsd.go [new file with mode: 0644]
libgo/runtime/go-varargs.c