[all-commits] [llvm/llvm-project] 175f22: [JITLink][ELF][AArch64] Implement R_AARCH64_JUMP26

Sunho Kim via All-commits all-commits at lists.llvm.org
Thu Jun 9 19:37:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 175f22d6c355a283a3fefd8eec90845e3298cdc1
      https://github.com/llvm/llvm-project/commit/175f22d6c355a283a3fefd8eec90845e3298cdc1
  Author: Sunho Kim <ksunhokim123 at naver.com>
  Date:   2022-06-10 (Fri, 10 Jun 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
    M llvm/test/ExecutionEngine/JITLink/AArch64/ELF_aarch64_relocations.s

  Log Message:
  -----------
  [JITLink][ELF][AArch64] Implement R_AARCH64_JUMP26

Implements R_AARCH64_JUMP26. We can use the same generic aarch64 Branch26 edge since B instruction and BL nstruction have the same sized&offseted immediate field, and the relocation address calculation is the same.

Reference: ELF for the ARM ® 64-bit Architecture Tabel 4-10, ARM Architecture Reference Manual ® ARMv8, for ARMv8-A architecture profile C6.2.24, C6.2.31

Reviewed By: sgraenitz

Differential Revision: https://reviews.llvm.org/D127059




More information about the All-commits mailing list