diff options
-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 |