Commit bce795fb authored by Hiroshi Ioka's avatar Hiroshi Ioka Committed by Ian Lance Taylor

cmd/link: unexport Elfadddynsym

Change-Id: Ifc66bd8c32e788f35da3bd105bcdcfd04bd3dabc
Reviewed-on: https://go-review.googlesource.com/59414Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
parent 4eca0898
...@@ -2700,7 +2700,7 @@ elfobj: ...@@ -2700,7 +2700,7 @@ elfobj:
} }
} }
func Elfadddynsym(ctxt *Link, s *Symbol) { func elfadddynsym(ctxt *Link, s *Symbol) {
if elf64 { if elf64 {
s.Dynid = int32(Nelfsym) s.Dynid = int32(Nelfsym)
Nelfsym++ Nelfsym++
......
...@@ -321,7 +321,7 @@ func Adddynsym(ctxt *Link, s *Symbol) { ...@@ -321,7 +321,7 @@ func Adddynsym(ctxt *Link, s *Symbol) {
} }
if Iself { if Iself {
Elfadddynsym(ctxt, s) elfadddynsym(ctxt, s)
} else if Headtype == objabi.Hdarwin { } else if Headtype == objabi.Hdarwin {
Errorf(s, "adddynsym: missed symbol (Extname=%s)", s.Extname) Errorf(s, "adddynsym: missed symbol (Extname=%s)", s.Extname)
} else if Headtype == objabi.Hwindows { } else if Headtype == objabi.Hwindows {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment