[llvm-branch-commits] MC: Emit symbols for R_X86_64_PLT32 relocation pointing to symbols with non-zero values. (PR #138795)

Fangrui Song via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 6 20:56:22 PDT 2025


MaskRay wrote:

I've read https://github.com/llvm/llvm-project/pull/138366#issuecomment-2855889424 but I am still not following.
What is invalid?

Note that range extension thunks track both the symbol and the addend (e.g. https://reviews.llvm.org/D70637 (AArch64)).
So we could add a thunk for the R_X86_64_PLT32 relocation with a -3 offset.


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


More information about the llvm-branch-commits mailing list