[libcxx-commits] [compiler-rt] [libcxx] [lld] [llvm] ELF: Add support for R_AARCH64_PATCHINST relocation type. (PR #133534)

Peter Collingbourne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 11 12:52:48 PDT 2025


================
@@ -0,0 +1,7 @@
+// RUN: llvm-mc -triple aarch64-elf -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s
+
+// Test that PATCHINST appears after JUMP26.
+// CHECK:      R_AARCH64_JUMP26
+// CHECK-NEXT: R_AARCH64_PATCHINST
+.reloc ., R_AARCH64_PATCHINST, ds
+b f1
----------------
pcc wrote:

Done in 55e71c0b145b40f48f882bd439a6fa99b761d541

https://github.com/llvm/llvm-project/pull/133534


More information about the libcxx-commits mailing list