[PATCH] D37615: [AVR] implement the relocation of LDI and other Instructions for LLD
Leslie Zhai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 12 00:01:05 PDT 2017
xiangzhai marked 5 inline comments as done.
xiangzhai added inline comments.
================
Comment at: ELF/Arch/AVR.cpp:110
+ case R_AVR_LDI:
+ write16le(Loc, caculateForLDI(X, SRel));
+ break;
----------------
dylanmckay wrote:
> I believe we need to mask out all the upper bits for `LO8`.
Could you give me the Calculation method for LO8? I follow the binutils's bfd/elf32-avr.c
Repository:
rL LLVM
https://reviews.llvm.org/D37615
More information about the llvm-commits
mailing list