forked from OSchip/llvm-project
Revert "[Mips] Fix createMipsRelocationHandler specialization"
The buildbot reported build failures for clang. llvm-svn: 227179
This commit is contained in:
parent
ad6bedb43e
commit
60f12026fb
|
@ -373,22 +373,16 @@ std::error_code RelocationHandler<ELFT>::applyRelocation(
|
||||||
|
|
||||||
} // end anon namespace
|
} // end anon namespace
|
||||||
|
|
||||||
namespace lld {
|
|
||||||
namespace elf {
|
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
std::unique_ptr<TargetRelocationHandler>
|
std::unique_ptr<TargetRelocationHandler>
|
||||||
createMipsRelocationHandler<Mips32ELType>(MipsLinkingContext &ctx) {
|
lld::elf::createMipsRelocationHandler<Mips32ELType>(MipsLinkingContext &ctx) {
|
||||||
return std::unique_ptr<TargetRelocationHandler>(
|
return std::unique_ptr<TargetRelocationHandler>(
|
||||||
new RelocationHandler<Mips32ELType>(ctx));
|
new RelocationHandler<Mips32ELType>(ctx));
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
std::unique_ptr<TargetRelocationHandler>
|
std::unique_ptr<TargetRelocationHandler>
|
||||||
createMipsRelocationHandler<Mips64ELType>(MipsLinkingContext &ctx) {
|
lld::elf::createMipsRelocationHandler<Mips64ELType>(MipsLinkingContext &ctx) {
|
||||||
return std::unique_ptr<TargetRelocationHandler>(
|
return std::unique_ptr<TargetRelocationHandler>(
|
||||||
new RelocationHandler<Mips64ELType>(ctx));
|
new RelocationHandler<Mips64ELType>(ctx));
|
||||||
}
|
}
|
||||||
|
|
||||||
} // elf
|
|
||||||
} // lld
|
|
||||||
|
|
Loading…
Reference in New Issue