1
0
mirror of https://github.com/golang/go synced 2024-11-20 04:04:41 -07:00

cmd/ld: fix build on elf systems

TBR=iant
CC=golang-dev
https://golang.org/cl/6843050
This commit is contained in:
Russ Cox 2012-11-13 13:12:11 -05:00
parent 1120982590
commit 2e77bc48aa
3 changed files with 3 additions and 0 deletions

View File

@ -527,6 +527,7 @@ doelf(void)
if(buildinfolen > 0)
elfstr[ElfStrNoteBuildInfo] = addstring(shstrtab, ".note.gnu.build-id");
addstring(shstrtab, ".rodata");
addstring(shstrtab, ".typelink");
addstring(shstrtab, ".gcdata");
addstring(shstrtab, ".gcbss");
addstring(shstrtab, ".gosymtab");

View File

@ -602,6 +602,7 @@ doelf(void)
elfstr[ElfStrNoteBuildInfo] = addstring(shstrtab, ".note.gnu.build-id");
addstring(shstrtab, ".elfdata");
addstring(shstrtab, ".rodata");
addstring(shstrtab, ".typelink");
addstring(shstrtab, ".gcdata");
addstring(shstrtab, ".gcbss");
addstring(shstrtab, ".gosymtab");

View File

@ -578,6 +578,7 @@ doelf(void)
elfstr[ElfStrNoteBuildInfo] = addstring(shstrtab, ".note.gnu.build-id");
addstring(shstrtab, ".elfdata");
addstring(shstrtab, ".rodata");
addstring(shstrtab, ".typelink");
addstring(shstrtab, ".gcdata");
addstring(shstrtab, ".gcbss");
addstring(shstrtab, ".gosymtab");