[lld] r227179 - Revert "[Mips] Fix createMipsRelocationHandler specialization"
Denis Protivensky
dprotivensky at accesssoftek.com
Tue Jan 27 00:22:08 PST 2015
Author: denis-protivensky
Date: Tue Jan 27 02:22:07 2015
New Revision: 227179
URL: http://llvm.org/viewvc/llvm-project?rev=227179&view=rev
Log:
Revert "[Mips] Fix createMipsRelocationHandler specialization"
The buildbot reported build failures for clang.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp?rev=227179&r1=227178&r2=227179&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp Tue Jan 27 02:22:07 2015
@@ -373,22 +373,16 @@ std::error_code RelocationHandler<ELFT>:
} // end anon namespace
-namespace lld {
-namespace elf {
-
template <>
std::unique_ptr<TargetRelocationHandler>
-createMipsRelocationHandler<Mips32ELType>(MipsLinkingContext &ctx) {
+lld::elf::createMipsRelocationHandler<Mips32ELType>(MipsLinkingContext &ctx) {
return std::unique_ptr<TargetRelocationHandler>(
new RelocationHandler<Mips32ELType>(ctx));
}
template <>
std::unique_ptr<TargetRelocationHandler>
-createMipsRelocationHandler<Mips64ELType>(MipsLinkingContext &ctx) {
+lld::elf::createMipsRelocationHandler<Mips64ELType>(MipsLinkingContext &ctx) {
return std::unique_ptr<TargetRelocationHandler>(
new RelocationHandler<Mips64ELType>(ctx));
}
-
-} // elf
-} // lld
More information about the llvm-commits
mailing list