diff options
author | Denis Protivensky <dprotivensky@accesssoftek.com> | 2015-01-27 08:22:07 +0000 |
---|---|---|
committer | Denis Protivensky <dprotivensky@accesssoftek.com> | 2015-01-27 08:22:07 +0000 |
commit | 60f12026fbdd10d754eb2cf564fef6cf8322d348 (patch) | |
tree | 7335a76b50069305a99b59aa2fd78affcecff500 | |
parent | ad6bedb43ed98bb71b310cc08efad7fc8394ecda (diff) | |
download | bcm5719-llvm-60f12026fbdd10d754eb2cf564fef6cf8322d348.tar.gz bcm5719-llvm-60f12026fbdd10d754eb2cf564fef6cf8322d348.zip |
Revert "[Mips] Fix createMipsRelocationHandler specialization"
The buildbot reported build failures for clang.
llvm-svn: 227179
-rw-r--r-- | lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp b/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp index c3907d6e55d..5765ce1f062 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<ELFT>::applyRelocation( } // 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 |