From 60f12026fbdd10d754eb2cf564fef6cf8322d348 Mon Sep 17 00:00:00 2001 From: Denis Protivensky Date: Tue, 27 Jan 2015 08:22:07 +0000 Subject: [PATCH] Revert "[Mips] Fix createMipsRelocationHandler specialization" The buildbot reported build failures for clang. llvm-svn: 227179 --- .../ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp b/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp index c3907d6e55dd..5765ce1f0620 100644 --- a/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp +++ b/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp @@ -373,22 +373,16 @@ std::error_code RelocationHandler::applyRelocation( } // end anon namespace -namespace lld { -namespace elf { - template <> std::unique_ptr -createMipsRelocationHandler(MipsLinkingContext &ctx) { +lld::elf::createMipsRelocationHandler(MipsLinkingContext &ctx) { return std::unique_ptr( new RelocationHandler(ctx)); } template <> std::unique_ptr -createMipsRelocationHandler(MipsLinkingContext &ctx) { +lld::elf::createMipsRelocationHandler(MipsLinkingContext &ctx) { return std::unique_ptr( new RelocationHandler(ctx)); } - -} // elf -} // lld