diff options
Diffstat (limited to 'ELF/Arch/AVR.cpp')
-rw-r--r-- | ELF/Arch/AVR.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ELF/Arch/AVR.cpp b/ELF/Arch/AVR.cpp index 02ac770127b9..637da3778bd2 100644 --- a/ELF/Arch/AVR.cpp +++ b/ELF/Arch/AVR.cpp @@ -43,12 +43,15 @@ using namespace lld::elf; namespace { class AVR final : public TargetInfo { public: + AVR(); RelExpr getRelExpr(RelType Type, const Symbol &S, const uint8_t *Loc) const override; void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override; }; } // namespace +AVR::AVR() { NoneRel = R_AVR_NONE; } + RelExpr AVR::getRelExpr(RelType Type, const Symbol &S, const uint8_t *Loc) const { return R_ABS; |