mirror of
https://github.com/golang/go
synced 2024-11-25 09:57:57 -07:00
6l, 8l: fix build for ELF systems
R=rsc CC=golang-dev https://golang.org/cl/5677095
This commit is contained in:
parent
8a4c2b3cc4
commit
cf52e39ee0
@ -95,6 +95,7 @@ enum {
|
||||
ElfStrGnuVersion,
|
||||
ElfStrGnuVersionR,
|
||||
ElfStrNoteNetbsdIdent,
|
||||
ElfStrNoPtrData,
|
||||
NElfStr
|
||||
};
|
||||
|
||||
@ -569,6 +570,7 @@ doelf(void)
|
||||
|
||||
elfstr[ElfStrEmpty] = addstring(shstrtab, "");
|
||||
elfstr[ElfStrText] = addstring(shstrtab, ".text");
|
||||
elfstr[ElfStrNoPtrData] = addstring(shstrtab, ".noptrdata");
|
||||
elfstr[ElfStrData] = addstring(shstrtab, ".data");
|
||||
elfstr[ElfStrBss] = addstring(shstrtab, ".bss");
|
||||
if(HEADTYPE == Hnetbsd)
|
||||
|
@ -91,6 +91,7 @@ enum {
|
||||
ElfStrGnuVersion,
|
||||
ElfStrGnuVersionR,
|
||||
ElfStrNoteNetbsdIdent,
|
||||
ElfStrNoPtrData,
|
||||
NElfStr
|
||||
};
|
||||
|
||||
@ -526,6 +527,7 @@ doelf(void)
|
||||
|
||||
elfstr[ElfStrEmpty] = addstring(shstrtab, "");
|
||||
elfstr[ElfStrText] = addstring(shstrtab, ".text");
|
||||
elfstr[ElfStrNoPtrData] = addstring(shstrtab, ".noptrdata");
|
||||
elfstr[ElfStrData] = addstring(shstrtab, ".data");
|
||||
elfstr[ElfStrBss] = addstring(shstrtab, ".bss");
|
||||
if(HEADTYPE == Hnetbsd)
|
||||
|
Loading…
Reference in New Issue
Block a user