[all-commits] [llvm/llvm-project] 2094fa: [JITLink][ELF][AArch64] Implement ADR_GOT_PAGE, LD...

Sunho Kim via All-commits all-commits at lists.llvm.org
Tue Jun 7 18:24:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2094fad00962c1be99ed4db2cafb18d40d3cf8a3
      https://github.com/llvm/llvm-project/commit/2094fad00962c1be99ed4db2cafb18d40d3cf8a3
  Author: Sunho Kim <ksunhokim123 at gmail.com>
  Date:   2022-06-07 (Tue, 07 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 ADR_GOT_PAGE, LD64_GOT_LO12_NC.

This patch implements two most commonly used Global Offset Table relocations in
ELF/AARCH64: R_AARCH64_ADR_GOT_PAGE and R_AARCH64_LD64_GOT_LO12_NC. It
implements the GOT table manager by extending the existing
PerGraphGOTAndPLTStubsBuilder. A future patch will unify this with the MachO
implementation to produce a generic aarch64 got table manager.

Reviewed By: lhames

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




More information about the All-commits mailing list