]> Cypherpunks repositories - gostls13.git/commit
cmd/link: simplify content hashed symbol handling
authorCherry Mui <cherryyz@google.com>
Mon, 21 Mar 2022 19:46:32 +0000 (15:46 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 22 Mar 2022 19:39:12 +0000 (19:39 +0000)
commit77680a064491dd54bd61ef0663276d6f64f66153
tree0e16f70db5d624e23de2b9b2d920b09bdbff972c
parente8534640557939755917edc3e6afc16d93b2e70b
cmd/link: simplify content hashed symbol handling

Symbol's content hash used to depend on package path expansion in
symbol names, so we have special logic handling hashed symbols
when path expansion is needed. As we required -p in the compiler
the symbol names are now fully expanded. Remove that logic.

Change-Id: I888574f63ea3789455d96468a6abd500e0958230
Reviewed-on: https://go-review.googlesource.com/c/go/+/394218
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/link/internal/loader/loader.go