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

Alexey Karyakin via All-commits all-commits at lists.llvm.org
Mon Nov 25 00:38:59 PST 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: e80925b5eb4c824fe97a055d49faa586de16c2b9
      https://github.com/llvm/llvm-project/commit/e80925b5eb4c824fe97a055d49faa586de16c2b9
  Author: Alexey Karyakin <akaryaki at quicinc.com>
  Date:   2024-11-25 (Mon, 25 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