summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h b/lld/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h
index 25e1f32f5ac..63803bf841c 100644
--- a/lld/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h
+++ b/lld/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h
@@ -14,7 +14,6 @@
namespace lld {
namespace elf {
-template <class ELFT> class MipsRuntimeFile;
template <class ELFT> class MipsTargetLayout;
template <typename ELFT> class MipsELFWriter {
@@ -52,8 +51,8 @@ public:
return _targetLayout.getGOTSection().hasGlobalGOTEntry(a);
}
- std::unique_ptr<MipsRuntimeFile<ELFT>> createRuntimeFile() {
- auto file = llvm::make_unique<MipsRuntimeFile<ELFT>>(_ctx);
+ std::unique_ptr<RuntimeFile<ELFT>> createRuntimeFile() {
+ auto file = llvm::make_unique<RuntimeFile<ELFT>>(_ctx, "Mips runtime file");
if (_ctx.isDynamic()) {
file->addAbsoluteAtom("_GLOBAL_OFFSET_TABLE_");
file->addAbsoluteAtom("_gp");
OpenPOWER on IntegriCloud