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

via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 03:55:50 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);
----------------
aykevl wrote:

Looks like these were older comments?

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


More information about the llvm-commits mailing list