]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: fix off-by-one error when emitting symbol names
authorShenghou Ma <minux@golang.org>
Sat, 11 Oct 2014 00:30:24 +0000 (20:30 -0400)
committerShenghou Ma <minux@golang.org>
Sat, 11 Oct 2014 00:30:24 +0000 (20:30 -0400)
commit8fe5ef40525d23012282a83a06a441863daa6bdb
treeabbddb3c278d825ec6ffdb2a80a556c2fb9bee5f
parentc689abd56c05c34922f6390ac835719c4a48065a
cmd/ld: fix off-by-one error when emitting symbol names

I diffed the output of `nm -n gofmt' before and after this change,
and verified that all changes are correct and all corrupted symbol
names are fixed.

Fixes #8906.

LGTM=iant, cookieo9
R=golang-codereviews, iant, cookieo9
CC=golang-codereviews
https://golang.org/cl/159750043
src/cmd/ld/macho.c