[lld] Reapply "[lld][WebAssembly] Do not relocate ABSOLUTE symbols" (#154371) (PR #154494)

YAMAMOTO Takashi via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 24 15:18:56 PDT 2025


yamt wrote:

> I think we need to look into it some more. What is the existing ABSOLUTE flag doing? How does it compare the the corresponding flag in the ELF linker? etc.

i couldn't find the corresponding flag in ELF.
if i read the code correctly, in ELF, it seems that `__start_`/`__stop_` symbols are relative (isAbsolute returns false) to the section which they belong to.


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


More information about the llvm-commits mailing list