aboutsummaryrefslogtreecommitdiffstats
path: root/ELF/OutputSections.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-16 21:04:14 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-16 21:04:14 +0000
commit15f7a1a3796209b21af2817fdf11ca9932165c70 (patch)
treeb27ac12a6f210080b2233100767c839224666505 /ELF/OutputSections.cpp
parent2079716dfb3fb7e4e24b8b2e85eb6780b981a0af (diff)
downloadsrc-15f7a1a3796209b21af2817fdf11ca9932165c70.tar.gz
src-15f7a1a3796209b21af2817fdf11ca9932165c70.zip
Vendor import of lld trunk r305575:vendor/lld/lld-trunk-r305575
Notes
Notes: svn path=/vendor/lld/dist/; revision=320021 svn path=/vendor/lld/lld-trunk-r305575/; revision=320022; tag=vendor/lld/lld-trunk-r305575
Diffstat (limited to 'ELF/OutputSections.cpp')
-rw-r--r--ELF/OutputSections.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ELF/OutputSections.cpp b/ELF/OutputSections.cpp
index 008871fd3889..6f04a04be8d0 100644
--- a/ELF/OutputSections.cpp
+++ b/ELF/OutputSections.cpp
@@ -41,6 +41,9 @@ OutputSection *Out::PreinitArray;
OutputSection *Out::InitArray;
OutputSection *Out::FiniArray;
+std::vector<OutputSection *> elf::OutputSections;
+std::vector<OutputSectionCommand *> elf::OutputSectionCommands;
+
uint32_t OutputSection::getPhdrFlags() const {
uint32_t Ret = PF_R;
if (Flags & SHF_WRITE)