forked from OSchip/llvm-project
parent
961b002714
commit
77408b067c
|
@ -2136,8 +2136,9 @@ template <class ELFT> bool VersionNeedSection<ELFT>::empty() const {
|
|||
|
||||
template <class ELFT>
|
||||
MergeSyntheticSection<ELFT>::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) {}
|
||||
|
||||
|
|
|
@ -642,11 +642,9 @@ public:
|
|||
// attached to regular output sections.
|
||||
template <class ELFT>
|
||||
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<ELFT> *MS);
|
||||
void writeTo(uint8_t *Buf) override;
|
||||
void finalizeContents() override;
|
||||
|
|
Loading…
Reference in New Issue