[all-commits] [llvm/llvm-project] ac4522: [llvm] Support indirect symbol replacement with R_...

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Thu Feb 15 17:05:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac452204aade6abfa44324c3f1db4890a63eb941
      https://github.com/llvm/llvm-project/commit/ac452204aade6abfa44324c3f1db4890a63eb941
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
    M llvm/lib/Target/ARM/ARMTargetObjectFile.h
    A llvm/test/MC/ELF/rtti-proxy-arm-got-prel.ll

  Log Message:
  -----------
  [llvm] Support indirect symbol replacement with R_ARM_GOT_PREL (#81916)

R_ARM_GOT_PREL is equivalent to GOTPCREL on other architectures, so we
can use it for indirect symbol replacement the same way. This is the
equivalent of https://github.com/llvm/llvm-project/pull/67754 for x86_64
and https://github.com/llvm/llvm-project/pull/78003 for AArch64 and
64-bit RISC-V.




More information about the All-commits mailing list