cmd/link/internal/loadpe: remove unused dynimports in peImportSymsState

dynimports is a leftover from a previous implementation, so remove it
for now.
This commit is contained in:
Jes Cok 2023-11-13 22:44:01 +08:00
parent 8da6405e0d
commit ba429bfb12
1 changed files with 2 additions and 6 deletions

View File

@ -182,9 +182,6 @@ type peImportSymsState struct {
// Text and non-text sections read in by the host object loader.
secSyms []loader.Sym
// SDYNIMPORT symbols encountered along the way
dynimports map[loader.Sym]struct{}
// Loader and arch, for use in postprocessing.
l *loader.Loader
arch *sys.Arch
@ -197,9 +194,8 @@ func createImportSymsState(l *loader.Loader, arch *sys.Arch) {
return
}
importSymsState = &peImportSymsState{
dynimports: make(map[loader.Sym]struct{}),
l: l,
arch: arch,
l: l,
arch: arch,
}
}