1
0
mirror of https://github.com/golang/go synced 2024-11-20 00:04:43 -07:00

cmd/link: unexport Elfadddynsym

Change-Id: Ifc66bd8c32e788f35da3bd105bcdcfd04bd3dabc
Reviewed-on: https://go-review.googlesource.com/59414
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Hiroshi Ioka 2017-08-28 14:57:47 +09:00 committed by Ian Lance Taylor
parent 4eca0898ec
commit bce795fb1f
2 changed files with 2 additions and 2 deletions

View File

@ -2700,7 +2700,7 @@ elfobj:
}
}
func Elfadddynsym(ctxt *Link, s *Symbol) {
func elfadddynsym(ctxt *Link, s *Symbol) {
if elf64 {
s.Dynid = int32(Nelfsym)
Nelfsym++

View File

@ -321,7 +321,7 @@ func Adddynsym(ctxt *Link, s *Symbol) {
}
if Iself {
Elfadddynsym(ctxt, s)
elfadddynsym(ctxt, s)
} else if Headtype == objabi.Hdarwin {
Errorf(s, "adddynsym: missed symbol (Extname=%s)", s.Extname)
} else if Headtype == objabi.Hwindows {