diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -69,9 +69,7 @@ OutputSection::OutputSection(StringRef Name, uint32_t Type, uint64_t Flags) : BaseCommand(OutputSectionKind), SectionBase(Output, Name, Flags, /*Entsize*/ 0, /*Alignment*/ 1, Type, - /*Info*/ 0, /*Link*/ 0) { - Live = false; -} + /*Info*/ 0, /*Link*/ 0) {} // We allow sections of types listed below to merged into a // single progbits section. This is typically done by linker