]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix spurious rebuild of binaries using cgo on OS X
authorRuss Cox <rsc@golang.org>
Tue, 18 Aug 2015 00:47:29 +0000 (20:47 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 18 Aug 2015 13:51:16 +0000 (13:51 +0000)
commitd2cf46dedfa4c6244d2c1913ce48b08a569e4809
treedf2799eb424b4c289472f9827168011412744dbf
parent3f016215a8f7fa3e62a6edfbf2f0a3e7ca074d09
cmd/go: fix spurious rebuild of binaries using cgo on OS X

The text segment starts farther into the binary when using
external linking on the mac. Test and fix.

Fixes #12173.

Change-Id: I1f0c81814bf70cd9decfceac3022784f4608eeef
Reviewed-on: https://go-review.googlesource.com/13672
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/note_test.go
src/cmd/go/pkg.go