From 77408b067c02d0ab6a1dd38fa55cb3c18f07245b Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 6 Mar 2017 20:04:47 +0000 Subject: [PATCH] Convert two uses of uintX_t. NFC. llvm-svn: 297059 --- lld/ELF/SyntheticSections.cpp | 5 +++-- lld/ELF/SyntheticSections.h | 6 ++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp index 04068e2962ff..e513c1cf57ef 100644 --- a/lld/ELF/SyntheticSections.cpp +++ b/lld/ELF/SyntheticSections.cpp @@ -2136,8 +2136,9 @@ template bool VersionNeedSection::empty() const { template MergeSyntheticSection::MergeSyntheticSection(StringRef Name, - uint32_t Type, uintX_t Flags, - uintX_t Alignment) + uint32_t Type, + uint64_t Flags, + uint64_t Alignment) : SyntheticSection(Flags, Type, Alignment, Name), Builder(StringTableBuilder::RAW, Alignment) {} diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h index dcf185fdcfd2..5203171a3269 100644 --- a/lld/ELF/SyntheticSections.h +++ b/lld/ELF/SyntheticSections.h @@ -642,11 +642,9 @@ public: // attached to regular output sections. template class MergeSyntheticSection final : public SyntheticSection { - typedef typename ELFT::uint uintX_t; - public: - MergeSyntheticSection(StringRef Name, uint32_t Type, uintX_t Flags, - uintX_t Alignment); + MergeSyntheticSection(StringRef Name, uint32_t Type, uint64_t Flags, + uint64_t Alignment); void addSection(MergeInputSection *MS); void writeTo(uint8_t *Buf) override; void finalizeContents() override;