libgo: Add sources for go, cgo, and gofmt commands.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 6 Jan 2015 23:26:02 +0000 (23:26 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 6 Jan 2015 23:26:02 +0000 (23:26 +0000)
commit7d7d64c1ae3c0732b167d2050b101808f078d711
tree40ecf33efd29feac369ae050140bc3fefed352e9
parentefcdb22fe3288fbfa4cd8ba9554b3a561c4d6e08
libgo: Add sources for go, cgo, and gofmt commands.

The new commands are not yet built.  That will be done
separately.

Also include a few changes to go/build to support them.

From-SVN: r219272
135 files changed:
libgo/Makefile.am
libgo/Makefile.in
libgo/go/cmd/cgo/ast.go [new file with mode: 0644]
libgo/go/cmd/cgo/doc.go [new file with mode: 0644]
libgo/go/cmd/cgo/gcc.go [new file with mode: 0644]
libgo/go/cmd/cgo/godefs.go [new file with mode: 0644]
libgo/go/cmd/cgo/main.go [new file with mode: 0644]
libgo/go/cmd/cgo/out.go [new file with mode: 0644]
libgo/go/cmd/cgo/util.go [new file with mode: 0644]
libgo/go/cmd/go/bootstrap.go [new file with mode: 0644]
libgo/go/cmd/go/build.go [new file with mode: 0644]
libgo/go/cmd/go/clean.go [new file with mode: 0644]
libgo/go/cmd/go/context.go [new file with mode: 0644]
libgo/go/cmd/go/discovery.go [new file with mode: 0644]
libgo/go/cmd/go/doc.go [new file with mode: 0644]
libgo/go/cmd/go/env.go [new file with mode: 0644]
libgo/go/cmd/go/fix.go [new file with mode: 0644]
libgo/go/cmd/go/fmt.go [new file with mode: 0644]
libgo/go/cmd/go/get.go [new file with mode: 0644]
libgo/go/cmd/go/go11.go [new file with mode: 0644]
libgo/go/cmd/go/help.go [new file with mode: 0644]
libgo/go/cmd/go/http.go [new file with mode: 0644]
libgo/go/cmd/go/list.go [new file with mode: 0644]
libgo/go/cmd/go/main.go [new file with mode: 0644]
libgo/go/cmd/go/match_test.go [new file with mode: 0644]
libgo/go/cmd/go/mkdoc.sh [new file with mode: 0644]
libgo/go/cmd/go/pkg.go [new file with mode: 0644]
libgo/go/cmd/go/pkg_test.go [new file with mode: 0644]
libgo/go/cmd/go/run.go [new file with mode: 0644]
libgo/go/cmd/go/script [new file with mode: 0644]
libgo/go/cmd/go/script.txt [new file with mode: 0644]
libgo/go/cmd/go/signal.go [new file with mode: 0644]
libgo/go/cmd/go/signal_notunix.go [new file with mode: 0644]
libgo/go/cmd/go/signal_unix.go [new file with mode: 0644]
libgo/go/cmd/go/tag_test.go [new file with mode: 0644]
libgo/go/cmd/go/test.bash [new file with mode: 0644]
libgo/go/cmd/go/test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/cgocover/p.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/cgocover/p_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/dep_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/example1_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/example2_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/local/easy.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/local/easysub/easysub.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/local/easysub/main.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/local/hard.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/local/sub/sub.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/local/sub/sub/subsub.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/shadow/root1/src/foo/foo.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/shadow/root1/src/math/math.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/shadow/root2/src/foo/foo.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/badpkg/x.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/cgotest/m.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/go-cmd-test/helloworld.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/main_test/m.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/main_test/m_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/notest/hello.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/syntaxerror/x.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/syntaxerror/x_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/testcycle/p1/p1.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/testcycle/p1/p1_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/testcycle/p2/p2.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/testcycle/p3/p3.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/testcycle/p3/p3_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/xtestonly/f.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/src/xtestonly/f_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/standalone_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/testimport/p.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/testimport/p1/p1.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/testimport/p2/p2.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/testimport/p_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/testimport/x_test.go [new file with mode: 0644]
libgo/go/cmd/go/testdata/testonly/p_test.go [new file with mode: 0644]
libgo/go/cmd/go/testflag.go [new file with mode: 0644]
libgo/go/cmd/go/tool.go [new file with mode: 0644]
libgo/go/cmd/go/vcs.go [new file with mode: 0644]
libgo/go/cmd/go/version.go [new file with mode: 0644]
libgo/go/cmd/go/vet.go [new file with mode: 0644]
libgo/go/cmd/gofmt/doc.go [new file with mode: 0644]
libgo/go/cmd/gofmt/gofmt.go [new file with mode: 0644]
libgo/go/cmd/gofmt/gofmt_test.go [new file with mode: 0644]
libgo/go/cmd/gofmt/long_test.go [new file with mode: 0644]
libgo/go/cmd/gofmt/rewrite.go [new file with mode: 0644]
libgo/go/cmd/gofmt/simplify.go [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/comments.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/comments.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/composites.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/composites.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/crlf.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/crlf.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/import.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/import.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/old.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/old.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite1.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite1.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite2.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite2.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite3.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite3.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite4.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite4.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite5.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite5.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite6.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite6.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite7.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite7.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite8.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/rewrite8.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/slices1.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/slices1.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/slices2.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/slices2.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin1.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin1.golden.gofmt [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin1.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin1.input.gofmt [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin2.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin2.golden.gofmt [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin2.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin2.input.gofmt [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin3.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin3.golden.gofmt [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin3.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin3.input.gofmt [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin4.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin4.golden.gofmt [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin4.input [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/stdin4.input.gofmt [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/typeswitch.golden [new file with mode: 0644]
libgo/go/cmd/gofmt/testdata/typeswitch.input [new file with mode: 0644]
libgo/go/go/build/build.go
libgo/go/runtime/extern.go
libgo/merge.sh