[lld] [ELF] Fix IRELATIVE addend if the resolver address is updated by linker relaxation (PR #179063)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 31 13:42:16 PST 2026


================
@@ -6,26 +6,34 @@
 # RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck --check-prefix=DIS %s
 
 ## ifunc0 has a direct relocation, so it gets canonicalized to the IPLT entry.
-## ifunc1 has only a GOT relocation, so its symbols remains in the original section.
+## ifunc1 has only a GOT relocation, so its symbol remains at the original section.
----------------
MaskRay wrote:

Adopted!

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


More information about the llvm-commits mailing list