summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/OutputSections.h')
-rw-r--r--lld/ELF/OutputSections.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h
index e36ac9eee7c..5e2119630d7 100644
--- a/lld/ELF/OutputSections.h
+++ b/lld/ELF/OutputSections.h
@@ -320,7 +320,8 @@ class DynamicSection final : public OutputSectionBase<ELFT::Is64Bits> {
public:
DynamicSection(SymbolTable &SymTab, HashTableSection<ELFT> &HashSec,
- RelocationSection<ELFT> &RelaDynSec);
+ RelocationSection<ELFT> &RelaDynSec,
+ const OutputSection<ELFT> &BssSec);
void finalize() override;
void writeTo(uint8_t *Buf) override;
@@ -333,7 +334,10 @@ private:
SymbolTableSection<ELFT> &DynSymSec;
StringTableSection<ELFT::Is64Bits> &DynStrSec;
RelocationSection<ELFT> &RelaDynSec;
+ const OutputSection<ELFT> &BssSec;
SymbolTable &SymTab;
+ const ELFSymbolBody<ELFT> *InitSym = nullptr;
+ const ELFSymbolBody<ELFT> *FiniSym = nullptr;
};
}
}
OpenPOWER on IntegriCloud