aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/memops.go
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-07-27 11:36:41 -0400
committerCherry Zhang <cherryyz@google.com>2020-07-27 16:04:55 +0000
commit19a932ceb8dc0059754e1f986c86daba3a4fb14e (patch)
tree843cb75b26223ddd5283dabdadee97b1e6a26757 /test/codegen/memops.go
parent8696ae82c94f0a7707cbbbdf2cec44e93edf5b23 (diff)
downloadgo-19a932ceb8dc0059754e1f986c86daba3a4fb14e.tar.xz
cmd/link: don't mark shared library symbols reachable unconditionally
During the transitioning period, we mark symbols from Go shared libraries reachable unconditionally. That might be useful when there was still a large portion of the linker using sym.Symbols, and only reachable symbols were converted to sym.Symbols. Marking them reachable brings them to the dynamic symbol table, even if they are not needed, increased the binary size unexpectedly. That time has passed. Now we largely operate on loader symbols, and it is not needed to mark them reachable anymore. Fixes #40416. Change-Id: I1e2bdb93a960ba7dc96575fabe15af93d8e95329 Reviewed-on: https://go-review.googlesource.com/c/go/+/244839 Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'test/codegen/memops.go')
0 files changed, 0 insertions, 0 deletions