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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 14 12:42:23 PDT 2026


================
@@ -0,0 +1,49 @@
+# REQUIRES: x86
+## Test that an explicit address expression on a .tbss section is respected,
+## and that TLS offsets and PT_TLS are generated correctly when one is specified.
+
+# RUN: rm -rf %t && split-file %s %t && cd %t
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux a.s -o a.o
----------------
MaskRay wrote:

`-triple=x86_64`

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


More information about the llvm-commits mailing list