[ELF/AArch64] Fix build issue on MSVC

This patch fixes a build issue from r238981.

llvm-svn: 238986
This commit is contained in:
Adhemerval Zanella 2015-06-03 22:47:41 +00:00
parent 599dd89b33
commit c694b40590
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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; }