summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-02-27 02:31:26 +0000
committerRui Ueyama <ruiu@google.com>2017-02-27 02:31:26 +0000
commit9d1bacb1b4c1701e47e106eb7e779221d860e8f6 (patch)
tree1accb7397e937af19e90f85179d7cc868ed7521b /lld/ELF/OutputSections.cpp
parent7b5d910c661117c6ea17596ba9c66ceafe005897 (diff)
downloadbcm5719-llvm-9d1bacb1b4c1701e47e106eb7e779221d860e8f6.tar.gz
bcm5719-llvm-9d1bacb1b4c1701e47e106eb7e779221d860e8f6.zip
Remove useless template so that Out<ELFT> becomes just Out.
llvm-svn: 296307
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r--lld/ELF/OutputSections.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 1832fc88d8d..ae325b08119 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -30,6 +30,19 @@ using namespace llvm::ELF;
using namespace lld;
using namespace lld::elf;
+uint8_t Out::First;
+OutputSection *Out::Bss;
+OutputSection *Out::BssRelRo;
+OutputSection *Out::Opd;
+uint8_t *Out::OpdBuf;
+PhdrEntry *Out::TlsPhdr;
+OutputSection *Out::DebugInfo;
+OutputSection *Out::ElfHeader;
+OutputSection *Out::ProgramHeaders;
+OutputSection *Out::PreinitArray;
+OutputSection *Out::InitArray;
+OutputSection *Out::FiniArray;
+
uint32_t OutputSection::getPhdrFlags() const {
uint32_t Ret = PF_R;
if (Flags & SHF_WRITE)
OpenPOWER on IntegriCloud