summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r--lld/ELF/OutputSections.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 10eebb4028f..cf19e78d346 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -215,8 +215,6 @@ void elf::sortByOrder(MutableArrayRef<InputSection *> In,
static OutputSection *createSection(InputSectionBase *IS, StringRef OutsecName) {
OutputSection *Sec = Script->createOutputSection(OutsecName, "<internal>");
- Sec->Type = IS->Type;
- Sec->Flags = IS->Flags;
Sec->addSection(cast<InputSection>(IS));
return Sec;
}
OpenPOWER on IntegriCloud