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:
parent
4eca0898ec
commit
bce795fb1f
@ -2700,7 +2700,7 @@ elfobj:
|
||||
}
|
||||
}
|
||||
|
||||
func Elfadddynsym(ctxt *Link, s *Symbol) {
|
||||
func elfadddynsym(ctxt *Link, s *Symbol) {
|
||||
if elf64 {
|
||||
s.Dynid = int32(Nelfsym)
|
||||
Nelfsym++
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user