gcc/libgo/go/runtime
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
..
debug libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
msan libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
pprof libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
race 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
append_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
callers_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
cgo_mmap.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
cgocheck.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
chan_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
chanbarrier_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
closure_test.go
compiler.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
complex_test.go libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
crash_cgo_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crash_nonunix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crash_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
crash_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
debug.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
env_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
error.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_arm_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_linux_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_mmap_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_windows_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
extern.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fastlog2_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
fastlog2.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
fastlog2table.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
gc_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
gcinfo_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
iface_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
lfstack_64bit.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
lfstack_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
malloc_test.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
map_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
mapspeed_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
mem.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
mfinal_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
mkfastlog2table.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
mmap.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
msan0.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
mstkbar.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
norace_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
print.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
proc_runtime_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
proc_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime_mmap_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime_unix_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
runtime-lldb_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
signal2_unix.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
signal_sigtramp.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
stack.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
string_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
symtab_test.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
symtab.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00