summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/AArch64/AArch64SectionChunks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/AArch64/AArch64SectionChunks.cpp')
-rw-r--r--lld/lib/ReaderWriter/ELF/AArch64/AArch64SectionChunks.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lld/lib/ReaderWriter/ELF/AArch64/AArch64SectionChunks.cpp b/lld/lib/ReaderWriter/ELF/AArch64/AArch64SectionChunks.cpp
index b06a8262ef6..2734bcdbda5 100644
--- a/lld/lib/ReaderWriter/ELF/AArch64/AArch64SectionChunks.cpp
+++ b/lld/lib/ReaderWriter/ELF/AArch64/AArch64SectionChunks.cpp
@@ -13,11 +13,11 @@
namespace lld {
namespace elf {
-AArch64GOTSection::AArch64GOTSection(const ELFLinkingContext &ctx)
- : AtomSection<ELF64LE>(ctx, ".got", DefinedAtom::typeGOT, DefinedAtom::permRW_,
- TargetLayout<ELF64LE>::ORDER_GOT)
-{
- this->_alignment = 8;
+AArch64GOTSection::AArch64GOTSection(const ELFLinkingContext &ctx,
+ StringRef name, int32_t order)
+ : AtomSection<ELF64LE>(ctx, name, DefinedAtom::typeGOT, DefinedAtom::permRW_,
+ order) {
+ _alignment = 8;
}
const AtomLayout *AArch64GOTSection::appendAtom(const Atom *atom) {
OpenPOWER on IntegriCloud