mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] cmd/link: fix merge error
Change-Id: Ief8384a74ac9cf303a959656f807f34a0ff9873b Reviewed-on: https://go-review.googlesource.com/c/go/+/204518 Run-TryBot: Jeremy Faller <jeremy@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
0e76e2f4e5
commit
931845aee3
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ func (l *Loader) AuxSym(i Sym, j int) Sym {
|
||||||
// slice passed as a parameter. If the slice capacity is not large enough, a new
|
// slice passed as a parameter. If the slice capacity is not large enough, a new
|
||||||
// larger slice will be allocated. Final slice is returned.
|
// larger slice will be allocated. Final slice is returned.
|
||||||
func (l *Loader) ReadAuxSyms(symIdx Sym, dst []Sym) []Sym {
|
func (l *Loader) ReadAuxSyms(symIdx Sym, dst []Sym) []Sym {
|
||||||
if l.isExternal(symIdx) {
|
if l.IsExternal(symIdx) {
|
||||||
return dst[:0]
|
return dst[:0]
|
||||||
}
|
}
|
||||||
naux := l.NAux(symIdx)
|
naux := l.NAux(symIdx)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue