mirror of
https://github.com/golang/go
synced 2024-11-20 06:24:40 -07:00
cmd/ld: fix build on elf systems
TBR=iant CC=golang-dev https://golang.org/cl/6843050
This commit is contained in:
parent
1120982590
commit
2e77bc48aa
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user