forked from OSchip/llvm-project
[Mips] Remove redundant non-template MipsRelocationHandler class
llvm-svn: 234155
This commit is contained in:
parent
58a7fd48dc
commit
cd9f268b50
|
@ -30,10 +30,10 @@ struct MipsRelocationParams {
|
|||
bool _shuffle; // Relocation's addendum/result needs to be shuffled
|
||||
};
|
||||
|
||||
template <class ELFT> class RelocationHandler : public MipsRelocationHandler {
|
||||
template <class ELFT> class RelocationHandler : public TargetRelocationHandler {
|
||||
public:
|
||||
RelocationHandler(MipsLinkingContext &ctx, MipsTargetLayout<ELFT> &layout)
|
||||
: _ctx(ctx), _targetLayout(layout) {}
|
||||
: _ctx(ctx), _targetLayout(layout) {}
|
||||
|
||||
std::error_code applyRelocation(ELFWriter &writer,
|
||||
llvm::FileOutputBuffer &buf,
|
||||
|
|
|
@ -9,18 +9,14 @@
|
|||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_HANDLER_H
|
||||
|
||||
#include "TargetHandler.h"
|
||||
#include "lld/Core/Reference.h"
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
|
||||
class MipsLinkingContext;
|
||||
template<typename ELFT> class MipsTargetLayout;
|
||||
|
||||
class MipsRelocationHandler : public TargetRelocationHandler {
|
||||
public:
|
||||
};
|
||||
|
||||
template <class ELFT>
|
||||
std::unique_ptr<TargetRelocationHandler>
|
||||
createMipsRelocationHandler(MipsLinkingContext &ctx,
|
||||
|
|
Loading…
Reference in New Issue