[all-commits] [llvm/llvm-project] bb113b: [AIX][TLS] Add support for TLSGD relocations to XC...

Victor Huang via All-commits all-commits at lists.llvm.org
Thu May 6 07:05:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb113b984565b01355a7f6bb4a5fa2eb8284c2e1
      https://github.com/llvm/llvm-project/commit/bb113b984565b01355a7f6bb4a5fa2eb8284c2e1
  Author: Victor Huang <wei.huang at ibm.com>
  Date:   2021-05-06 (Thu, 06 May 2021)

  Changed paths:
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp
    A llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll
    A llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc.ll

  Log Message:
  -----------
  [AIX][TLS] Add support for TLSGD relocations to XCOFF objects

- Add branch absolute reloction R_RBA, R_TLS relocation for the variable offset
  for the tlsgd model and R_TLSM for the region handle for the tlsgd model
- Properly set the relocation fixed values for R_TLS and R_TLSM
- Emit the TCEntry with the variant kind in the XCOFFStreamer

Reviewed by: sfertile, nemanjai, DiggerLin

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




More information about the All-commits mailing list