gcc/libgo/go/strings
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
..
compare.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
compare_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
example_test.go libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
export_test.go
indexbyte.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
reader.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
reader_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
replace.go libgo, compiler: Upgrade libgo to Go 1.4, except for runtime. 2015-01-15 00:27:56 +00:00
replace_test.go libgo, compiler: Upgrade libgo to Go 1.4, except for runtime. 2015-01-15 00:27:56 +00:00
search.go
search_test.go
strings.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
strings_amd64.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
strings_decl.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
strings_generic.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
strings_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00