mirror of https://github.com/golang/go.git
cmd/link/internal/loadpe: remove unused dynimports in peImportSymsState
dynimports is a leftover from a previous implementation, so remove it
for now.
Change-Id: I6419e3fa35ce6a9e46aa387377e436415221e3a2
GitHub-Last-Rev: ba429bfb12
GitHub-Pull-Request: golang/go#64097
Reviewed-on: https://go-review.googlesource.com/c/go/+/541895
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
c06beb9eff
commit
c32362125b
|
|
@ -182,9 +182,6 @@ type peImportSymsState struct {
|
||||||
// Text and non-text sections read in by the host object loader.
|
// Text and non-text sections read in by the host object loader.
|
||||||
secSyms []loader.Sym
|
secSyms []loader.Sym
|
||||||
|
|
||||||
// SDYNIMPORT symbols encountered along the way
|
|
||||||
dynimports map[loader.Sym]struct{}
|
|
||||||
|
|
||||||
// Loader and arch, for use in postprocessing.
|
// Loader and arch, for use in postprocessing.
|
||||||
l *loader.Loader
|
l *loader.Loader
|
||||||
arch *sys.Arch
|
arch *sys.Arch
|
||||||
|
|
@ -197,9 +194,8 @@ func createImportSymsState(l *loader.Loader, arch *sys.Arch) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
importSymsState = &peImportSymsState{
|
importSymsState = &peImportSymsState{
|
||||||
dynimports: make(map[loader.Sym]struct{}),
|
l: l,
|
||||||
l: l,
|
arch: arch,
|
||||||
arch: arch,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue