[all-commits] [llvm/llvm-project] 64e346: [lld][Hexagon] Fix R_HEX_B22_PCREL range checks (#...

Alexey Karyakin via All-commits all-commits at lists.llvm.org
Tue Nov 19 07:27:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64e3466fd09ec0b02f27ec15a176611fe65ed961
      https://github.com/llvm/llvm-project/commit/64e3466fd09ec0b02f27ec15a176611fe65ed961
  Author: Alexey Karyakin <akaryaki at quicinc.com>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

  Changed paths:
    M lld/ELF/Arch/Hexagon.cpp
    M lld/test/ELF/hexagon-jump-error.s
    M lld/test/ELF/hexagon.s

  Log Message:
  -----------
  [lld][Hexagon] Fix R_HEX_B22_PCREL range checks (#115925)

Range checks for R_HEX_B22_PCREL did not account for the fact that
offset is measured in instructions, not bytes.

Add a test for all range-checked relocations.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list