]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.link] cmd/link: fix merge error
authorJeremy Faller <jeremy@golang.org>
Thu, 31 Oct 2019 13:51:20 +0000 (09:51 -0400)
committerJeremy Faller <jeremy@golang.org>
Thu, 31 Oct 2019 14:12:22 +0000 (14:12 +0000)
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>
src/cmd/link/internal/loader/loader.go

index ff38e7cf88a8a04299000c72efd263243252f8e4..f0689032f313190c8f8a5cfe734e83cd8ffa0dd0 100644 (file)
@@ -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
 // larger slice will be allocated. Final slice is returned.
 func (l *Loader) ReadAuxSyms(symIdx Sym, dst []Sym) []Sym {
-       if l.isExternal(symIdx) {
+       if l.IsExternal(symIdx) {
                return dst[:0]
        }
        naux := l.NAux(symIdx)