]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link/internal/loader: add Loader plt/got access methods
authorThan McIntosh <thanm@google.com>
Tue, 24 Mar 2020 13:23:09 +0000 (09:23 -0400)
committerThan McIntosh <thanm@google.com>
Sat, 28 Mar 2020 23:59:16 +0000 (23:59 +0000)
commit912e64ba46eb3d130d2fb3ccaa7e7f4ac4d38991
treee3e6054a4ef02daf7aec77af72d0db4f83a424cd
parenta9fb2e5155041615df59b5e3db9b546e723d0ff1
[dev.link] cmd/link/internal/loader: add Loader plt/got access methods

Add accessor methods to get at the symbol {plt,got} value for
PE symbols. Fix a bug in the loaders SetPlt/SetGot methods.

Change-Id: I975bd6b86122622b206487c8798f8290ecd25a57
Reviewed-on: https://go-review.googlesource.com/c/go/+/225199
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