[PATCH] D102908: [lld][ELF][SPARC] Support TLS IE relocations

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 19:30:31 PDT 2021


MaskRay added inline comments.


================
Comment at: lld/test/ELF/sparcv9-tls-ie.s:9
+
+# CHECK: sethi 0, %o0
+# CHECK-NEXT: or %o0, 0, %o0
----------------
align the instructions

See the style of new tests.


================
Comment at: lld/test/ELF/sparcv9-tls-ie.s:32
+# RELOC: .rel.dyn {
+# RELOC-NEXT: R_SPARC_TLS_TPOFF64 a
+# RELOC-NEXT: }
----------------
Useful to check the addend 0x0


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102908/new/

https://reviews.llvm.org/D102908



More information about the llvm-commits mailing list