Index: lld/trunk/ELF/SyntheticSections.h =================================================================== --- lld/trunk/ELF/SyntheticSections.h +++ lld/trunk/ELF/SyntheticSections.h @@ -1007,7 +1007,6 @@ SymbolTableBaseSection *DynSymTab; GnuHashTableSection *GnuHashTab; HashTableSection *HashTab; - InputSection *Interp; GdbIndexSection *GdbIndex; GotSection *Got; GotPltSection *GotPlt; Index: lld/trunk/ELF/Writer.cpp =================================================================== --- lld/trunk/ELF/Writer.cpp +++ lld/trunk/ELF/Writer.cpp @@ -288,10 +288,8 @@ Out::ProgramHeaders = make("", 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(".strtab", false);