[PATCH] D78741: [LLD][ELF][AVR] Implement the missing relocation types

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 08:37:53 PDT 2020


aykevl updated this revision to Diff 274822.
aykevl edited the summary of this revision.
aykevl added a comment.

@MaskRay thanks! I wasn't aware of that option.

Changes I made:

- Fixed `R_AVR_16` to mask off the high bits instead of raising an error.
- Added `checkInt` to `R_AVR_7_PCREL`.
- Used `-NEXT` in the test where possible.
- Switched to checking instructions now that more instructions can be disassembled.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78741/new/

https://reviews.llvm.org/D78741

Files:
  lld/ELF/Arch/AVR.cpp
  lld/test/ELF/avr-reloc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78741.274822.patch
Type: text/x-patch
Size: 6130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200701/c792bf53/attachment.bin>


More information about the llvm-commits mailing list