[ELF/AArch64] Fix build issue on MSVC
This patch fixes a build issue from r238981. llvm-svn: 238986
This commit is contained in:
parent
599dd89b33
commit
c694b40590
|
|
@ -23,7 +23,7 @@ AArch64TargetLayout::AArch64TargetLayout(ELFLinkingContext &ctx) :
|
|||
|
||||
AtomSection<ELF64LE> *AArch64TargetLayout::createSection(
|
||||
StringRef name, int32_t type, DefinedAtom::ContentPermissions permissions,
|
||||
typename TargetLayout<ELF64LE>::SectionOrder order) {
|
||||
TargetLayout<ELF64LE>::SectionOrder order) {
|
||||
if (type == DefinedAtom::typeGOT && name == ".got")
|
||||
return _gotSection;
|
||||
return TargetLayout<ELF64LE>::createSection(name, type, permissions, order);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ public:
|
|||
AtomSection<ELF64LE> *
|
||||
createSection(StringRef name, int32_t type,
|
||||
DefinedAtom::ContentPermissions permissions,
|
||||
typename TargetLayout<ELF64LE>::SectionOrder order) override;
|
||||
TargetLayout<ELF64LE>::SectionOrder order) override;
|
||||
|
||||
const AArch64GOTSection &getGOTSection() const { return *_gotSection; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue