[lld] [ELF] Fix TLSDESC=>IE when there is no TLS section (PR #98569)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 17:52:13 PDT 2024


================
@@ -164,6 +169,15 @@
 # IE32-NEXT:         lw      a0, 0x80(a0)
 # IE32-NEXT:         add     a0, a0, tp
 
+# IE64A-LABEL: 0000000000002340 R_RISCV_TLS_TPREL64      c
----------------
MaskRay wrote:

The llvm-objdump -R output shows that `R_RISCV_TLS_TPREL64` references `c`. Added a header and a following `IE64A-EMPTY:` to make this clearer.

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


More information about the llvm-commits mailing list