[lld] [lld][ELF] Allow explicit address expressions on .tbss output sections (PR #196447)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 10:00:06 PDT 2026


MaskRay wrote:

I am also curious about the use case. As mentioned you can do
```
.tdata address : { *(.tdata) } /* could be zero size */
.tbss : { *(.tbss) } /* follows .tdata */
```

The new test can be added to the test modified by https://reviews.llvm.org/D107208
If you have a good justification for this feature, I'll modify the test in this PR.

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


More information about the llvm-commits mailing list