aboutsummaryrefslogtreecommitdiff
path: root/gotools
AgeCommit message (Collapse)AuthorFilesLines
2015-12-02re PR go/66147 (go fails to cross build)Ian Lance Taylor3-3/+9
./: PR go/66147 * Makefile.tpl (HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET. * Makefile.in: Regenerate. gotools/: PR go/66147 * Makefile.am (GOCOMPILER): In NATIVE case, add $(XGCC_FLAGS_FOR_TARGET). From-SVN: r231199
2015-10-31Makefile.am (go_cmd_go_files): Update to Go 1.5.1 library by adding ↵Ian Lance Taylor3-1/+13
alldocs.go, doc.go, note.go. * Makefile.am (go_cmd_go_files): Update to Go 1.5.1 library by adding alldocs.go, doc.go, note.go. * Makefile.in: Rebuild. From-SVN: r229635
2015-05-13gotools: Bump to automake 1.11.6Michael Haubenwallner4-53/+123
2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> * Makefile.in: Regenerated with automake-1.11.6. * aclocal.m4: Likewise. * configure: Likewise. From-SVN: r223129
2015-03-24re PR go/65462 (Use of 'go get' with gccgo is not finding dependencies ↵Ian Lance Taylor3-3/+11
correctly) PR go/65462 cmd: Fix dependencies for 'go get' with gccgo Problem described in GCC BZ 65462. Generate the list of the standard GO package names based on what was built into libgo in the libgo Makefile. Change the var name from reqPkgSrc to reqStdPkgSrc to clarify it only affects standard GO packages. Skip the attempted loading of a package only if it is a standard GO package and the flag is set indicating its source is not required to be available. This requires a corresponding change to gotools to build and link in the new file containing the list of standard GO package names that was generated by the libgo Makefile. gotools/: PR go/65462 * Makefile.am (go_cmd_go_files): Add $(libgodir)/zstdpkglist.go. * Makefile.in: Rebuild. From-SVN: r221643
2015-03-12Makefile.am (GOLINK): Add GOCFLAGS.Ian Lance Taylor3-3/+8
* Makefile.am (GOLINK): Add GOCFLAGS. * Makefile.in: Rebuild. From-SVN: r221397
2015-01-23re PR go/64738 (go, gofmt and cgo binaries linked statically)Ian Lance Taylor3-3/+9
PR go/64738 * Makefile.am (AM_LDFLAGS): Remove -static-libgo. * Makefile.in: Rebuild. From-SVN: r220066
2015-01-23re PR go/64595 (go programs abort when debug info is stripped)Ian Lance Taylor5-8/+105
PR go/64595 * go.1, gofmt.1: New files. * Makefile.am (man_MANS): New variable. * Makefile.in: Rebuild. From-SVN: r220022
2015-01-22Makefile.am (noinst_PROGRAMS): New variable.Ian Lance Taylor3-54/+44
* Makefile.am (noinst_PROGRAMS): New variable. (libexecsub_PROGRAMS): Remove variable. (install-exec-local, uninstall-local): New targets. * Makefile.in: Rebuild. From-SVN: r219985
2015-01-20Link with -lrt on Solaris 10Rainer Orth5-6/+131
* configure.ac: Check if sched_yield and/or nanosleep need -lrt. * configure: Regenerate. * Makefile.am (go$(EXEEXT), gofmt$(EXEEXT), cgo$(EXEEXT)): Link with $(LIBS). * Makefile.in: Regenerate. From-SVN: r219882
2015-01-15configure.ac: Check for networking libraries; see NET_LIBS.Ian Lance Taylor5-6/+277
* configure.ac: Check for networking libraries; see NET_LIBS. * Makefile.am (go$(EXEEXT)): Link against NET_LIBS. (gofmt$(EXEEXT), cgo$(EXEEXT)): Likewise. * configure, Makefile.in: Rebuild. From-SVN: r219690
2015-01-15libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.Ian Lance Taylor3-28/+35
This upgrades all of libgo other than the runtime package to the Go 1.4 release. In Go 1.4 much of the runtime was rewritten into Go. Merging that code will take more time and will not change the API, so I'm putting it off for now. There are a few runtime changes anyhow, to accomodate other packages that rely on minor modifications to the runtime support. The compiler changes slightly to add a one-bit flag to each type descriptor kind that is stored directly in an interface, which for gccgo is currently only pointer types. Another one-bit flag (gcprog) is reserved because it is used by the gc compiler, but gccgo does not currently use it. There is another error check in the compiler since I ran across it during testing. gotools/: * Makefile.am (go_cmd_go_files): Sort entries. Add generate.go. * Makefile.in: Rebuild. From-SVN: r219627
2015-01-10Makefile.am (GOCOMPILER): Set to GOC or GOC_FOR_TARGET depending on whether ↵Ian Lance Taylor3-7/+29
this is a native build or not. * Makefile.am (GOCOMPILER): Set to GOC or GOC_FOR_TARGET depending on whether this is a native build or not. (GOCOMPILE, GOLINK): Use $(GOCOMPILER) instead of $(GOC). (MOSTLYCLEANFILES): Define. * Makefile.in: Rebuild. From-SVN: r219418
2015-01-09* Initial implementation.Ian Lance Taylor1-0/+3
From-SVN: r219408
2015-01-09configure.ac (host_tools): Add gotools.Ian Lance Taylor7-0/+6808
./:2015-01-09 Ian Lance Taylor <iant@google.com> * configure.ac (host_tools): Add gotools. * Makefile.def (host_modules): Add gotools. (dependencies): Add dependency of all-gotools on all-target-libgo. gcc/go/: 2015-01-09 Ian Lance Taylor <iant@google.com> * config-lang.in (lang_dirs): Define. gotools/: 2015-01-09 Ian Lance Taylor <iant@google.com> * Initial implementation. From-SVN: r219407