forked from OSchip/llvm-project
ELF: Remove dead code. NFCI.
The Live bit is already set to false by SectionBase. Differential Revision: https://reviews.llvm.org/D59052 llvm-svn: 355893
This commit is contained in:
parent
bf92b3f480
commit
b5a307fa24
|
@ -69,9 +69,7 @@ void OutputSection::writeHeaderTo(typename ELFT::Shdr *Shdr) {
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue