]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: convert Link.linksetup method to work with loader
authorThan McIntosh <thanm@google.com>
Mon, 30 Dec 2019 19:12:54 +0000 (14:12 -0500)
committerThan McIntosh <thanm@google.com>
Fri, 10 Jan 2020 12:36:22 +0000 (12:36 +0000)
commit5279166402e6d336c4d10642a2b1e479af6763bd
treebf40cf37f512f347921beb3c0cf2b09c2dd8b09a
parentfa284af7201c5ce246bd5fcac485a5445717c452
[dev.link] cmd/link: convert Link.linksetup method to work with loader

Switch the linker's Link.linksetup method to work with loader.Sym
instead of sym.Symbols. Currently enabled when the new ELF host object
loader is turned on.

Change-Id: I336cc9f36166767baac574455531e195b6f1ac57
Reviewed-on: https://go-review.googlesource.com/c/go/+/213423
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/link.go
src/cmd/link/internal/ld/main.go