forked from OSchip/llvm-project
parent
040725723e
commit
02b5a800c5
|
@ -697,19 +697,15 @@ template <class ELFT> std::error_code ELFFile<ELFT>::createAtoms() {
|
||||||
|
|
||||||
bool addAtoms = true;
|
bool addAtoms = true;
|
||||||
|
|
||||||
// A section of type SHT_GROUP defines a grouping of sections. The name of a
|
// A section of type SHT_GROUP defines a grouping of sections. The
|
||||||
// symbol from one of the containing object's symbol tables provides a
|
// name of a symbol from one of the containing object's symbol tables
|
||||||
// signature
|
// provides a signature for the section group. The section header of
|
||||||
// for the section group. The section header of the SHT_GROUP section
|
// the SHT_GROUP section specifies the identifying symbol entry, as
|
||||||
// specifies
|
// described: the sh_link member contains the section header index of
|
||||||
// the identifying symbol entry, as described : the sh_link member contains
|
// the symbol table section that contains the entry. The sh_info
|
||||||
// the section header index of the symbol table section that contains the
|
// member contains the symbol table index of the identifying entry.
|
||||||
// entry.
|
// The sh_flags member of the section header contains 0. The name of
|
||||||
// The sh_info member contains the symbol table index of the identifying
|
// the section (sh_name) is not specified.
|
||||||
// entry.
|
|
||||||
// The sh_flags member of the section header contains 0. The name of the
|
|
||||||
// section
|
|
||||||
// (sh_name) is not specified.
|
|
||||||
if (isGroupSection(section)) {
|
if (isGroupSection(section)) {
|
||||||
const Elf_Word *groupMembers =
|
const Elf_Word *groupMembers =
|
||||||
reinterpret_cast<const Elf_Word *>(sectionContents->data());
|
reinterpret_cast<const Elf_Word *>(sectionContents->data());
|
||||||
|
|
Loading…
Reference in New Issue