]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: replace '·' as '.' in ELF/Mach-O symbol tables
authorShenghou Ma <minux.ma@gmail.com>
Fri, 14 Mar 2014 14:07:51 +0000 (10:07 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 14 Mar 2014 14:07:51 +0000 (10:07 -0400)
commitcbe777b2c70320f52f85c6c8f1242b35dd45b341
treefd02de6580e6cc05b76c2c4d4f2a2bf3ef513bfb
parent199e70308351c2780f19ee0471febfd3cfd8f30f
cmd/gc: replace '·' as '.' in ELF/Mach-O symbol tables

Old versions of DTrace (as those shipped in OS X and FreeBSD)
don't support unicode characters in symbol names.  Replace '·'
to '.' to make DTrace happy.

Fixes #7493

LGTM=aram, rsc
R=aram, rsc, gobot, iant
CC=golang-codereviews
https://golang.org/cl/72280043
src/cmd/ld/macho.c
src/cmd/ld/symtab.c