[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
Wed Aug 2 17:24:19 PDT 2023


varunkumare99 created this revision.
varunkumare99 added reviewers: MaskRay, jhibbits, uweigand.
varunkumare99 added a project: PowerPC.
Herald added subscribers: shchenz, kbarton, hiraditya, nemanjai.
Herald added a project: All.
varunkumare99 requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, jplehr, sstefan1.
Herald added a project: LLVM.

This patch emits the relocation type R_PPC_DTPREL32 for tls variables, which was previously emitting R_PPC_ADDR32 in power-pc 32bit.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156953

Files:
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
  llvm/test/MC/PowerPC/ppc32-R_PPC_DTPREL32-reloc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156953.546649.patch
Type: text/x-patch
Size: 10230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230803/d3b90d1d/attachment.bin>


More information about the llvm-commits mailing list