]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: fix gcdata and gcbss symbols
authorAnthony Martin <ality@pbrane.org>
Tue, 4 Jun 2013 14:07:22 +0000 (07:07 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 4 Jun 2013 14:07:22 +0000 (07:07 -0700)
commit251baea1afc07f3ca7ca10935aaba1476cfd34d9
treed415001953a79967539b226aa4f5878c2bcd2524
parent941db1ed39cfb5a80ceb94dc24766165a1d1bd68
cmd/ld: fix gcdata and gcbss symbols

These two symbols don't show up in the Go symbol table
since they're defined in dodata which is called sometime
after symtab. They do, however, show up in the ELF symbol
table.

This regression was introduced in changeset 01c40d533367.

Also, remove the corresponding strings from the ELF strtab
section now that they're unused.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/8650043
src/cmd/ld/data.c
src/cmd/ld/elf.c
src/cmd/ld/symtab.c