mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 02:21:45 +00:00
ELF: Remove field for .interp in InStruct. NFC.
This field is unreferenced outside of createSyntheticSections. Differential Revision: https://reviews.llvm.org/D58422 llvm-svn: 354428
This commit is contained in:
parent
ffece2dfcf
commit
7cca803d4c
@ -1007,7 +1007,6 @@ struct InStruct {
|
||||
SymbolTableBaseSection *DynSymTab;
|
||||
GnuHashTableSection *GnuHashTab;
|
||||
HashTableSection *HashTab;
|
||||
InputSection *Interp;
|
||||
GdbIndexSection *GdbIndex;
|
||||
GotSection *Got;
|
||||
GotPltSection *GotPlt;
|
||||
|
@ -288,10 +288,8 @@ template <class ELFT> static void createSyntheticSections() {
|
||||
Out::ProgramHeaders = make<OutputSection>("", 0, SHF_ALLOC);
|
||||
Out::ProgramHeaders->Alignment = Config->Wordsize;
|
||||
|
||||
if (needsInterpSection()) {
|
||||
In.Interp = createInterpSection();
|
||||
Add(In.Interp);
|
||||
}
|
||||
if (needsInterpSection())
|
||||
Add(createInterpSection());
|
||||
|
||||
if (Config->Strip != StripPolicy::All) {
|
||||
In.StrTab = make<StringTableSection>(".strtab", false);
|
||||
|
Loading…
Reference in New Issue
Block a user