[lld] Fix R_AVR_7_PCREL and R_AVR_13_PCREL range checking (PR #92695)

Ben Shi via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 05:44:11 PDT 2024


benshi001 wrote:

> Thanks for the review! @benshi001 do you also agree with the `R_AVR_13_PCREL` change?

I would like to keep the `R_AVR_13_PCREL` part unchanged, could you please give me an example that this check is harm ? Even on attiny85 you mentioned, the range of RJMP is still [-4096, 4094], so I think the check is necessary.

https://github.com/llvm/llvm-project/pull/92695


More information about the llvm-commits mailing list