summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2015-01-16 09:40:21 +0000
committerSimon Atanasyan <simon@atanasyan.com>2015-01-16 09:40:21 +0000
commit6cea6473b31c26abeac43e4dc849e410176533a7 (patch)
tree3ad8ef2ef3d781037f160e9592d922b9f57eb402 /lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
parent367db8eec67ccb8a4fdedb0848a3dd9eefb3e09b (diff)
downloadbcm5719-llvm-6cea6473b31c26abeac43e4dc849e410176533a7.tar.gz
bcm5719-llvm-6cea6473b31c26abeac43e4dc849e410176533a7.zip
[ELF] Remove TargetHandler and DefaultTargetHandler constructors
These classes contain only abstract virtual functions. Explicit constructors are redundant. llvm-svn: 226265
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp')
-rw-r--r--lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp b/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
index a56c74640a7..221281cdb6f 100644
--- a/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
+++ b/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
@@ -19,10 +19,10 @@ using namespace elf;
typedef llvm::object::ELFType<llvm::support::little, 2, false> Mips32ElELFType;
MipsTargetHandler::MipsTargetHandler(MipsLinkingContext &ctx)
- : DefaultTargetHandler(ctx), _ctx(ctx),
- _runtimeFile(new MipsRuntimeFile<Mips32ElELFType>(ctx)),
+ : _ctx(ctx), _runtimeFile(new MipsRuntimeFile<Mips32ElELFType>(ctx)),
_targetLayout(new MipsTargetLayout<Mips32ElELFType>(ctx)),
- _relocationHandler(new MipsTargetRelocationHandler(*_targetLayout, ctx)) {}
+ _relocationHandler(new MipsTargetRelocationHandler(*_targetLayout, ctx)) {
+}
std::unique_ptr<Writer> MipsTargetHandler::getWriter() {
switch (_ctx.getOutputELFType()) {
OpenPOWER on IntegriCloud