[all-commits] [llvm/llvm-project] 35e047: [ELF, PPC64] Scope checkPPC64TLSRelax to section an...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Feb 14 18:03:16 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35e04701dd3a0352176de6cafc6ac4e0f18b9089
      https://github.com/llvm/llvm-project/commit/35e04701dd3a0352176de6cafc6ac4e0f18b9089
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-02-14 (Sat, 14 Feb 2026)

  Changed paths:
    M lld/ELF/Arch/PPC64.cpp
    M lld/ELF/InputFiles.h
    M lld/test/ELF/ppc64-tls-missing-gdld.s

  Log Message:
  -----------
  [ELF,PPC64] Scope checkPPC64TLSRelax to section and simplify TLS markers

checkPPC64TLSRelax detects TLS GD/LD without TLSGD/TLSLD markers
(generated from old IBM XL) and disables TLS optimization. Previously it
set a per-file flag (ppc64DisableTLSRelax). Now scope it in the section
being scanned.

In addition, simplify the R_PPC64_TLSGD/R_PPC64_TLSLD marker handling:
the redundant `sym.setFlags(NEEDS_TLSIE)` is unnecessary as the
preceding GOT_TLSGD relocation already sets it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list