[all-commits] [llvm/llvm-project] d00f03: [PPC32] Emit relocation type R_PPC_DTPREL32 for tl...

Varun Erigila via All-commits all-commits at lists.llvm.org
Wed Aug 9 11:29:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d00f03dd6fc744fd10fa1c3363c3b980a11bd51b
      https://github.com/llvm/llvm-project/commit/d00f03dd6fc744fd10fa1c3363c3b980a11bd51b
  Author: Varun Erigila <varunkumare99 at gmail.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
    A llvm/test/MC/PowerPC/ppc32-R_PPC_DTPREL32-reloc.s

  Log Message:
  -----------
  [PPC32] Emit relocation type R_PPC_DTPREL32 for tls variables

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

Differential Revision: https://reviews.llvm.org/D156953




More information about the All-commits mailing list