r221800 - in /trunk/libgo/go/cmd/go: build.go p...
ian@gcc.gnu.org
ian@gcc.gnu.org
Tue Mar 31 17:54:00 GMT 2015
Author: ian
Date: Tue Mar 31 17:54:07 2015
New Revision: 221800
URL: https://gcc.gnu.org/viewcvs?rev=221800&root=gcc&view=rev
Log:
go/cmd/go: always link external test packages first
When linking complex packages that use both internal and external tests as well as many dependencies it is critical that the link order be external test package, internal test package, everything else.
This change is a back (forward?) port of the same change that canonical have been maintaining on their fork of the go tool for gccgo. Now that gccgo uses the go tool from upstream, this patch should be applied both to the gofrontend and golang/go repos.
Modified:
trunk/libgo/go/cmd/go/build.go
trunk/libgo/go/cmd/go/pkg.go
trunk/libgo/go/cmd/go/test.go
More information about the Gcc-cvs
mailing list