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

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 31 11:56:36 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.
----------------
jrtc27 wrote:

I think "in" was better here (hence my suggestion to change the "at" in the RISC-V version to "in" to match the original version here)

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


More information about the llvm-commits mailing list