[PATCH] D35792: [lld] [COFF, ARM64] Handle ADRP immediate offsets in relocations
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 04:08:16 PDT 2017
mstorsjo created this revision.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.
Also handle overflow correctly in LDR/STR relocations. Even if the offset range of a 8 byte LDR instruction is 15 bit (even if the immediate itself is 12 bit) due to a 3 bit shift, only include up to 12 bits of offset after doing the relocation.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11148 bytes
Desc: not available
More information about the llvm-commits