]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/gc: directly produce importpath of package being compiled
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Thu, 19 Mar 2015 10:05:34 +0000 (23:05 +1300)
committerIan Lance Taylor <iant@golang.org>
Tue, 31 Mar 2015 20:31:55 +0000 (20:31 +0000)
commit0de359da301d1ed5a63c87a8853bedbd829ab906
tree5f7886b69f5876c659ee09957d807fa660f376ca
parent8d267b9b592001da4c7a4d73996f92094fd23152
cmd/internal/gc: directly produce importpath of package being compiled

Relying on an importing package being linked at the same time as the
imported package does not work in the shared library world.

This also lets us remove some obscure code from the linker.

Change-Id: I57cd5447b42a1a6129b02951d44efffb10cf64be
Reviewed-on: https://go-review.googlesource.com/7797
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/internal/gc/reflect.go
src/cmd/internal/ld/lib.go