summaryrefslogtreecommitdiff
path: root/gotools
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.am (check-go-tool): Output colon after ${fl}.Ian Lance Taylor2017-10-253-8/+14
| | | | | | | | * Makefile.am (check-go-tool): Output colon after ${fl}. (check-runtime, check-cgo-test, check-carchive-test): Likewise. * Makefile.in: Rebuild. From-SVN: r254090
* Fix some gotools testing problemsRainer Orth2017-09-193-15/+29
| | | | | | | | | | | | | * Makefile.am (GOTESTFLAGS): New variable. (check-runtime): Pass it to gotest. (check-go-tools): Sort summary. (check-runtime): Likewise. (check-cgo-test): Likewise. (check-carchive-test): Likewise. (check): Likewise. * Makefile.in: Regenerate. From-SVN: r252963
* libgo: update to go1.9Ian Lance Taylor2017-09-143-73/+46
| | | | | | Reviewed-on: https://go-review.googlesource.com/63753 From-SVN: r252767
* Fix e-mail address.Ian Lance Taylor2017-08-301-1/+1
| | | | From-SVN: r251541
* configure.ac: Substitute GOC_FOR_TARGET and GCC_FOR_TARGET.Ian Lance Taylor2017-08-305-20/+74
| | | | | | | | | | | | | | * configure.ac: Substitute GOC_FOR_TARGET and GCC_FOR_TARGET. * Makefile.am (MOSTLYCLEANFILES): Add check-gcc. (check-gccgo): Create via a temporary file. (check-gcc): New target. (CHECK_ENV): Set CC. (ECHO_ENV): Report CC. (check-go-tool): Depend on check-gcc. (check-runtime, check-cgo-test, check-carchive-test): Likewise. * configure, Makefile.in: Rebuild. From-SVN: r251540
* re PR go/81548 ("make distclean" does not clean all of gotools/)Ian Lance Taylor2017-07-263-2/+8
| | | | | | | | PR go/81548 * Makefile.am (MOSTLYCLEANFILES): Add *.sent. * Makefile.in: Rebuild. From-SVN: r250593
* Makefile.am (CHECK_ENV): Set GOROOT.Ian Lance Taylor2017-07-153-4/+14
| | | | | | | | * Makefile.am (CHECK_ENV): Set GOROOT. (ECHO_ENV): Report setting GOROOT. * Makefile.in: Rebuild. From-SVN: r250226
* Makefile.am (MOSTLYCLEANFILES): Remove testing files and logs.Ian Lance Taylor2017-06-293-37/+173
| | | | | | | | | | | | | | | | | * Makefile.am (MOSTLYCLEANFILES): Remove testing files and logs. (mostlyclean-local): Remove check-runtime-dir, cgo-test-dir, carchive-test-dir. (ECHO_ENV): Define. (check-go-tool): Depend on cgo. Write command to testlog. (check-runtime): New target. (check-cgo-test): New target. (check-carchive-test): New target. (check): Depend on check-runtime, check-cgo-test, check-carchive-test. Add @ to prettify output. (.PHONY): Add check-runtime, check-cgo-test, check-carchive-test. * Makefile.in: Rebuild. From-SVN: r249799
* Makefile.am (s-zdefaultcc): Don't record $(bindir) for defaultCC or defaultCXX.Ian Lance Taylor2017-06-263-5/+11
| | | | | | | | * Makefile.am (s-zdefaultcc): Don't record $(bindir) for defaultCC or defaultCXX. * Makefile.in: Rebuild. From-SVN: r249669
* Don't use >& for I/O redirectionRainer Orth2017-06-163-3/+8
| | | | | | | * Makefile.am (check-go-tool): Don't use >& for I/O redirection. * Makefile.in: Regenerate. From-SVN: r249236
* Makefile.am (libgosrcdir): Define.Ian Lance Taylor2017-06-143-6/+192
| | | | | | | | | | | * Makefile.am (libgosrcdir): Define. (check-head, check-gccgo, check-go-tool): New targets. (CHECK_ENV): Define. (check): New target. (mostlyclean-local): New target. * Makefile.in: Rebuild. From-SVN: r249203
* re PR go/80964 (cross-gotools are not executable on host system)Ian Lance Taylor2017-06-133-2/+8
| | | | | | | | PR go/80964 * configure.ac: Set NATIVE if host_alias = target_alias. * configure: Rebuild. From-SVN: r249172
* re PR go/80814 (commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a ↵Ian Lance Taylor2017-05-183-1/+9
| | | | | | | | | | build error.) PR go/80814 * Makefile.am (AM_GOCFLAGS): Define. * Makefile.in: Rebuild. From-SVN: r248255
* libgo: update to Go 1.8 release candidate 1Ian Lance Taylor2017-01-143-1/+12
| | | | | | | | | | | | | | | | | | | | | | Compiler changes: * Change map assignment to use mapassign and assign value directly. * Change string iteration to use decoderune, faster for ASCII strings. * Change makeslice to take int, and use makeslice64 for larger values. * Add new noverflow field to hmap struct used for maps. Unresolved problems, to be fixed later: * Commented out test in go/types/sizes_test.go that doesn't compile. * Commented out reflect.TestStructOf test for padding after zero-sized field. Reviewed-on: https://go-review.googlesource.com/35231 gotools/: Updates for Go 1.8rc1. * Makefile.am (go_cmd_go_files): Add bug.go. (s-zdefaultcc): Write defaultPkgConfig. * Makefile.in: Rebuild. From-SVN: r244456
* Update copyright datesRainer Orth2016-06-073-2/+6
| | | | | | | | | | | | | | | | | libcc1: Update copyrights. gotools: Update copyrights. contrib: * update-copyright.py (LibMudflapFilter): Remove. (GCCCmdLine.__init__): Add gotools, libcc1. Remove libmudflap. List unhandled intl, libcilkrts, libgo, liboffloadmic, maintainer-scripts. From-SVN: r237169
* libgo: Update to go1.6rc1.Ian Lance Taylor2016-02-033-1/+9
| | | | | | Reviewed-on: https://go-review.googlesource.com/19200 From-SVN: r233110
* re PR go/66147 (go fails to cross build)Ian Lance Taylor2015-12-023-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
* Makefile.am (go_cmd_go_files): Update to Go 1.5.1 library by adding ↵Ian Lance Taylor2015-10-313-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
* gotools: Bump to automake 1.11.6Michael Haubenwallner2015-05-134-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
* re PR go/65462 (Use of 'go get' with gccgo is not finding dependencies ↵Ian Lance Taylor2015-03-243-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
* Makefile.am (GOLINK): Add GOCFLAGS.Ian Lance Taylor2015-03-123-3/+8
| | | | | | | * Makefile.am (GOLINK): Add GOCFLAGS. * Makefile.in: Rebuild. From-SVN: r221397
* re PR go/64738 (go, gofmt and cgo binaries linked statically)Ian Lance Taylor2015-01-233-3/+9
| | | | | | | | PR go/64738 * Makefile.am (AM_LDFLAGS): Remove -static-libgo. * Makefile.in: Rebuild. From-SVN: r220066
* re PR go/64595 (go programs abort when debug info is stripped)Ian Lance Taylor2015-01-235-8/+105
| | | | | | | | | PR go/64595 * go.1, gofmt.1: New files. * Makefile.am (man_MANS): New variable. * Makefile.in: Rebuild. From-SVN: r220022
* Makefile.am (noinst_PROGRAMS): New variable.Ian Lance Taylor2015-01-223-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
* Link with -lrt on Solaris 10Rainer Orth2015-01-205-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
* configure.ac: Check for networking libraries; see NET_LIBS.Ian Lance Taylor2015-01-155-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
* libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.Ian Lance Taylor2015-01-153-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
* Makefile.am (GOCOMPILER): Set to GOC or GOC_FOR_TARGET depending on whether ↵Ian Lance Taylor2015-01-103-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
* * Initial implementation.Ian Lance Taylor2015-01-091-0/+3
| | | | From-SVN: r219408
* configure.ac (host_tools): Add gotools.Ian Lance Taylor2015-01-097-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