1
0
mirror of https://github.com/golang/go synced 2024-10-03 16:31:27 -06:00
go/src/cmd
Josh Bleecher Snyder 8bbd80063b cmd/go: put user ldflags at the end of the linker invocation
If the user provided a key but no value via -ldflag -X,
another linker flag was used as the value.

Placing the user's flags at the end avoids this problem.
It also provides the user the opportunity to
override existing linker flags.

Fixes #8810.

Change-Id: I96f4190713dc9a9c29142e56658446fba7fb6bc8
Reviewed-on: https://go-review.googlesource.com/2242
Reviewed-by: Minux Ma <minux@golang.org>
2015-01-02 18:36:44 +00:00
..
5a [dev.power64] cmd/5a, cmd/6a, cmd/8a, cmd/9a: make labels function-scoped 2014-10-28 21:50:16 -04:00
5g runtime: make stack frames fixed size by modifying goproc/deferproc. 2014-12-23 01:08:29 +00:00
5l cmd/5l,6l,8l: remove bogus dynsym section indexes 2014-12-22 23:00:15 +00:00
6a [dev.power64] cmd/5a, cmd/6a, cmd/8a, cmd/9a: make labels function-scoped 2014-10-28 21:50:16 -04:00
6g runtime: make stack frames fixed size by modifying goproc/deferproc. 2014-12-23 01:08:29 +00:00
6l cmd/5l,6l,8l: remove bogus dynsym section indexes 2014-12-22 23:00:15 +00:00
8a runtime: faster aeshash implementation 2014-12-11 05:23:00 +00:00
8g runtime: make stack frames fixed size by modifying goproc/deferproc. 2014-12-23 01:08:29 +00:00
8l cmd/5l,6l,8l: remove bogus dynsym section indexes 2014-12-22 23:00:15 +00:00
9a all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
9g runtime: make stack frames fixed size by modifying goproc/deferproc. 2014-12-23 01:08:29 +00:00
9l cmd/9l: improve R_CALLPOWER error messages 2014-12-22 23:57:39 +00:00
addr2line cmd/addr2line, cmd/nm: factor object reading into cmd/internal/objfile 2014-08-07 12:33:06 -04:00
api cmd/api: work around Windows rename issue on the builders 2014-12-23 04:55:44 +00:00
cc [dev.cc] all: merge dev.power64 (7667e41f3ced) into dev.cc 2014-11-14 12:10:52 -05:00
cgo go/build: add variable expansion to cgo lines 2014-12-23 20:35:49 +00:00
dist cmd/dist: fatal shouldn't print errstr on Plan 9 2014-12-23 10:28:17 +00:00
fix build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
gc cmd/gc: update issue tracker link 2015-01-02 15:45:17 +00:00
go cmd/go: put user ldflags at the end of the linker invocation 2015-01-02 18:36:44 +00:00
gofmt go/format, cmd/gofmt: added missing comments, minor internal cleanup 2014-09-30 12:26:38 -07:00
internal all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
ld liblink, cmd/ld, runtime: remove stackguard1 2014-12-29 07:36:07 +00:00
link debug/goobj: move to cmd/internal/goobj 2014-11-16 20:52:45 -05:00
nm build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
objdump cmd/objdump: Fix error logging 2014-12-09 00:27:39 +00:00
pack cmd/pack: address go vet reports 2014-12-28 07:08:02 +00:00
pprof cmd/pprof: remove -show_bytes from command line help 2014-12-11 15:23:18 +00:00
yacc cmd/yacc: Prevent index out of range. Fixes #9099. 2014-12-18 16:11:50 +00:00