[PATCH] D156953: PowerPC 32bit: Emit relocation type R_PPC_DTPREL32 for tls variablels.

Varun Kumar E via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 6 22:36:34 PDT 2023


varunkumare99 added inline comments.


================
Comment at: llvm/test/MC/PowerPC/ppc32-R_PPC_DTPREL32-reloc.s:64
+	.byte	12
+	.long	tls_rtp_var at DTPREL+32768
+	.byte	224
----------------
MaskRay wrote:
> I think we should keep just this directive and delete other directives that are unrelated to the test.
> 
> ```
> ## Used by DW_OP_form_tls_address
> .long tls at DTPREL+32768
> ```
I have updated the testcase, as mentioned.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156953



More information about the llvm-commits mailing list