Permalink
Browse files

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>
  • Loading branch information...
hirochachacha authored and ianlancetaylor committed Aug 28, 2017
1 parent 4eca089 commit bce795fb1f89df27241745a90b795b758cdda5af
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/cmd/link/internal/ld/elf.go
  2. +1 −1 src/cmd/link/internal/ld/go.go
@@ -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 {

0 comments on commit bce795f

Please sign in to comment.