[lld] [lld][ELF] Enable link script to support absolute path matching (PR #156353)

via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 7 09:22:15 PDT 2025


mykouHW wrote:

Thank you for taking the time to explain this with examples—it was very helpful and made the concept click for me. I now see that the correct approach in my patch is to implement a script such as:
`SECTIONS {
  .text : { *(.text) }
  .goo : {
    bar.o(.text_bar);
    foo.o(.text_foo);
  }
}`

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


More information about the llvm-commits mailing list