mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] cmd/link: convert asmb2 pass to new style on windows
Now we no longer do loadlibfull on windows. Change-Id: Ideb015597c28f27538bd50829e089ea728017162 Reviewed-on: https://go-review.googlesource.com/c/go/+/232979 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jeremy Faller <jeremy@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
fee06a6bda
commit
fdb9249d82
7 changed files with 177 additions and 133 deletions
|
|
@ -692,6 +692,8 @@ func (l *Loader) SymVersion(i Sym) int {
|
|||
return int(abiToVer(r.Sym(li).ABI(), r.version))
|
||||
}
|
||||
|
||||
func (l *Loader) IsFileLocal(i Sym) bool { return l.SymVersion(i) >= sym.SymVerStatic }
|
||||
|
||||
// Returns the type of the i-th symbol.
|
||||
func (l *Loader) SymType(i Sym) sym.SymKind {
|
||||
if l.IsExternal(i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue