gcc/libgo/go/net
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
..
http libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
internal/socktest libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
mail libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
rpc libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
smtp libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
testdata libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
textproto libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
url libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
addrselect_test.go
addrselect.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_android.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_bsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_netbsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_openbsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_resnew.go
cgo_resold.go
cgo_socknew.go
cgo_sockold.go
cgo_solaris.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_stub.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_unix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_windows.go
conf_netcgo.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
conf_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
conf.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
conn_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dial_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dial.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dnsclient_test.go
dnsclient_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dnsclient_unix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dnsclient.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dnsconfig_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dnsconfig_unix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dnsmsg_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dnsmsg.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
dnsname_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
error_plan9_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
error_posix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
error_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
error_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
error_windows_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
external_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fd_mutex_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fd_mutex.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fd_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fd_poll_nacl.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fd_poll_runtime.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fd_posix_test.go
fd_posix.go
fd_unix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fd_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
file_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
file_stub.go
file_test.go
file_unix.go
file_windows.go
file.go
hook_cloexec.go
hook_plan9.go
hook_unix.go
hook_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
hook.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
hosts_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
hosts_testdata
hosts.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
interface_bsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
interface_bsdvar.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
interface_darwin.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
interface_freebsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
interface_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
interface_stub.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
interface_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
interface_windows_test.go
interface_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
interface.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
ip_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
ip.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
iprawsock_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
iprawsock_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
iprawsock_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
iprawsock.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
ipsock_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
ipsock_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
ipsock_test.go
ipsock.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
listen_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
lookup_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
lookup_stub.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
lookup_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
lookup_unix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
lookup_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
lookup.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
mac_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
mac.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
main_cloexec_test.go
main_conf_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
main_noconf_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
main_plan9_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
main_posix_test.go
main_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
main_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
main_windows_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
mockserver_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
net_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
net.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
newpollserver_rtems.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
nss_test.go
nss.go
packetconn_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
parse_test.go
parse.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
pipe_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
pipe.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
platform_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
port_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
port_unix.go
port.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
protoconn_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sendfile_dragonfly.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sendfile_freebsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sendfile_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sendfile_solaris.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sendfile_stub.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sendfile_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sendfile_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
server_test.go
sock_bsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sock_cloexec.go
sock_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sock_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sock_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sock_stub.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sock_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockopt_bsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockopt_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockopt_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockopt_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockopt_solaris.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockopt_stub.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockopt_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockoptip_bsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockoptip_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockoptip_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockoptip_stub.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sockoptip_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
sys_cloexec.go
tcpsock_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsock_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsock_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsock_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsock.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsockopt_darwin.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsockopt_dragonfly.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsockopt_openbsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsockopt_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsockopt_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsockopt_solaris.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsockopt_stub.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsockopt_unix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tcpsockopt_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
timeout_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
udpsock_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
udpsock_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
udpsock_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
udpsock.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
unixsock_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
unixsock_posix.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
unixsock_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
unixsock.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00