gcc/libgo/go/syscall
Ian Lance Taylor e0f69f36ea libgo: change build procedure to use build tags
Previously the libgo Makefile explicitly listed the set of files to
    compile for each package.  For packages that use build tags, this
    required a lot of awkward automake conditionals in the Makefile.
    
    This CL changes the build to look at the build tags in the files.
    The new shell script libgo/match.sh does the matching.  This required
    adjusting a lot of build tags, and removing some files that are never
    used.  I verified that the exact same sets of files are compiled on
    amd64 GNU/Linux.  I also tested the build on i386 Solaris.
    
    Writing match.sh revealed some bugs in the build tag handling that
    already exists, in a slightly different form, in the gotest shell
    script.  This CL fixes those problems as well.
    
    The old code used automake conditionals to handle systems that were
    missing strerror_r and wait4.  Rather than deal with those in Go, those
    functions are now implemented in runtime/go-nosys.c when necessary, so
    the Go code can simply assume that they exist.
    
    The os testsuite looked for dir_unix.go, which was never built for gccgo
    and has now been removed.  I changed the testsuite to look for dir.go
    instead.
    
    Reviewed-on: https://go-review.googlesource.com/25546

From-SVN: r239189
2016-08-06 00:36:33 +00:00
..
bpf_bsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
const_plan9.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
creds_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dir_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
env_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
env_unix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
env_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
errno.c
errors_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
errstr.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
errstr_linux.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
exec_bsd.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
exec_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
exec_linux_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
exec_solaris_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
exec_stubs.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
exec_unix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
exec_unix_test.go libgo: Solaris portability fixes. 2015-11-06 19:15:45 +00:00
exec_windows.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
export_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_unix_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
libcall_bsd.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_irix.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_linux.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
libcall_linux_386.go
libcall_linux_alpha.go
libcall_linux_amd64.go
libcall_linux_s390.go libgo: add s390 support 2014-11-04 22:39:30 +00:00
libcall_linux_s390x.go libgo: add s390 support 2014-11-04 22:39:30 +00:00
libcall_linux_ustat.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_linux_utimesnano.go
libcall_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
libcall_posix_largefile.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_posix_regfile.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_posix_utimesnano.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_solaris_386.go
libcall_solaris_amd64.go
libcall_solaris_sparc.go
libcall_solaris_sparc64.go
libcall_support.go
libcall_uname.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_wait4.go
lsf_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
mksyscall.awk libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
mmap_unix_test.go libgo: Update to Go 1.3 release. 2014-07-19 08:53:52 +00:00
msan0.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
netlink_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
pwd_plan9.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
route_bsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_darwin.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_dragonfly.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_freebsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_freebsd_32bit.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
route_freebsd_64bit.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
route_netbsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_openbsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
security_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
signame.c
sleep_rtems.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
sleep_select.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
sockcmsg_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockcmsg_unix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
socket.go re PR go/69966 (libgo: Port syscall.SetsockoptUcred from golang) 2016-02-26 17:36:00 +00:00
socket_bsd.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
socket_irix.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
socket_linux.go re PR go/69966 (libgo: Port syscall.SetsockoptUcred from golang) 2016-02-26 17:36:00 +00:00
socket_linux_ppc64x_type.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
socket_linux_type.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
socket_posix.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
socket_solaris.go
socket_xnet.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
str.go libgo, compiler: Upgrade libgo to Go 1.4, except for runtime. 2015-01-15 00:27:56 +00:00
syscall.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
syscall_errno.go libgo, compiler: Upgrade libgo to Go 1.4, except for runtime. 2015-01-15 00:27:56 +00:00
syscall_linux_386.go libgo: Update to Go 1.3 release. 2014-07-19 08:53:52 +00:00
syscall_linux_alpha.go
syscall_linux_amd64.go
syscall_linux_mips64x.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
syscall_linux_s390.go libgo: add s390 support 2014-11-04 22:39:30 +00:00
syscall_linux_s390x.go libgo: add s390 support 2014-11-04 22:39:30 +00:00
syscall_linux_test.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
syscall_solaris.go
syscall_stubs.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
syscall_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
syscall_unix.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
syscall_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
wait.c