gcc/libgo/go
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
..
archive libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
bufio libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
builtin runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
bytes libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cmd libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
compress libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
container libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
context libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crypto libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
database/sql libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
debug libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
encoding libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
errors libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
exp
expvar libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
flag libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fmt libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
golang_org/x/net libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
hash libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
html libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
image libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
index/suffixarray
internal libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
io libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
log libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
math libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
mime libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
net libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
old
os libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
path libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
reflect libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
regexp libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
sort libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
strconv libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
strings libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
sync libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
syscall libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
testing libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
text text/template: reduce maxExecDepth for gccgo 2016-08-04 16:48:28 +00:00
time libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
unicode libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00