]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use type. prefix on importpath symbol
authorDavid Crawshaw <crawshaw@golang.org>
Thu, 14 Apr 2016 12:54:15 +0000 (08:54 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Thu, 14 Apr 2016 19:59:15 +0000 (19:59 +0000)
commitc9638810df5c0ab7e15a0856f0ddddf4b3afbba6
tree0483671e29ac1746061da0db832f780c54b3fd0a
parent644493f1090e965cbde3e3245bc8b12bb5486477
cmd/compile: use type. prefix on importpath symbol

This ensures that importpath symbols are treated like other type data
and end up in the same section under all build modes.

Fixes: go test -buildmode=pie reflect
Change-Id: Ibb8348648e8dcc850f2424d206990a06090ce4c6
Reviewed-on: https://go-review.googlesource.com/22081
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/gc/reflect.go