]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: move setupdynexp before loadlibfull
authorThan McIntosh <thanm@google.com>
Fri, 20 Mar 2020 12:31:38 +0000 (08:31 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 25 Mar 2020 12:47:14 +0000 (12:47 +0000)
commite14efb686564a778002b8fe1ab0c40e4f6c62da1
treecf8d40c9c9d71926dbed53b9dbf4235ce992d2ba
parent3fa98a0436dcc7927cfb4868133a102cb53d2179
[dev.link] cmd/link: move setupdynexp before loadlibfull

Rewrite setupdynexp to work with loader.Sym, and move the call to it
before the body of loadlibfull. After loadlibfull is complete,
construct the old *sym.Symbol version of dynexp, since not all all
clients that access this list are converted to the loader APIs.

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