[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
Tue May 21 23:28:47 PDT 2024
================
@@ -238,7 +238,6 @@ void AVR::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const {
break;
}
case R_AVR_13_PCREL: {
- checkInt(loc, val - 2, 13, rel);
----------------
benshi001 wrote:
Is there an example, that RJMP can exceeds 4094 bytes on attiny85, which is allowed by avr-ld ?
https://github.com/llvm/llvm-project/pull/92695
More information about the llvm-commits
mailing list