]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link/internal/loader: get rid of the AttrContainer loader method
authorThan McIntosh <thanm@google.com>
Sun, 12 Apr 2020 18:19:38 +0000 (14:19 -0400)
committerThan McIntosh <thanm@google.com>
Mon, 13 Apr 2020 00:37:19 +0000 (00:37 +0000)
commite488ade6dd029646d1374d1e0fcb74b501701e14
tree8cd7b8ea95c501dadbc334257811e7c8e1caf4c4
parentad6fcf6993307fe1acdf07b5dc174d94b58615d0
[dev.link] cmd/link/internal/loader: get rid of the AttrContainer loader method

Remove the loader's AttrContainer method, since it is no longer
needed. All of the code in the linker that used s.Attr.Container() is
now upstream of loadlibfull(), and the code in question now uses local
bitmaps to keep track of container text symbols as opposed to loader
methods.

Change-Id: Iae956d24bef2776e181c3b8208476dcb0b9a2916
Reviewed-on: https://go-review.googlesource.com/c/go/+/227959
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/loader/loader.go