go/build, cmd/go: update to match recent changes to gc
commit024464e5fb8e2734cddbf3ee7e4b0896ad5b20e4
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2018 21:49:47 +0000 (9 21:49 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2018 21:49:47 +0000 (9 21:49 +0000)
treedb15ce3c24c21d5a4a060f2342339882ef0cc014
parent7033197896cf99d44ed44270faa9eb8f1fec879b
go/build, cmd/go: update to match recent changes to gc

    Several recent changes to the gc version of cmd/go improve the
    gofrontend support. These changes are partially copies of existing
    gofrontend differences, and partially new code. This CL makes the
    gofrontend match the upstream code.

    The changes included here come from:
        https://golang.org/cl/111575
        https://golang.org/cl/111595
        https://golang.org/cl/111635
        https://golang.org/cl/111636

    For the record, the following recent gc changes are based on code
    already present in the gofrontend repo:
        https://golang.org/cl/110915
        https://golang.org/cl/111615

    For the record, a gc change, partially based on earlier gofrontend
    work, also with new gc code, was already copied to gofrontend repo in
    CL 111099:
        https://golang.org/cl/111097

    This moves the generated list of standard library packages from
    cmd/go/internal/load to go/build.

    Reviewed-on: https://go-review.googlesource.com/112475

gotools/:
* Makefile.am (check-go-tool): Don't copy zstdpkglist.go.
* Makefile.in: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260097 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/go/gofrontend/MERGE
gotools/ChangeLog
gotools/Makefile.am
gotools/Makefile.in
libgo/Makefile.am
libgo/Makefile.in
libgo/go/cmd/go/internal/load/pkg.go
libgo/go/cmd/go/internal/test/test.go
libgo/go/cmd/go/internal/work/buildid.go
libgo/go/cmd/go/internal/work/exec.go
libgo/go/go/build/build.go
libgo/go/go/build/gc.go
libgo/go/go/build/gccgo.go