[all-commits] [llvm/llvm-project] 75f5a4: [VE] Move STT_TLS setting from fixELFSymbolsInTLSF...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Mar 22 20:05:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75f5a4f0dc7d96134cca86543ef3f86ef218ce77
      https://github.com/llvm/llvm-project/commit/75f5a4f0dc7d96134cca86543ef3f86ef218ce77
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-03-22 (Sat, 22 Mar 2025)

  Changed paths:
    M llvm/lib/Target/VE/MCTargetDesc/VEELFObjectWriter.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.h

  Log Message:
  -----------
  [VE] Move STT_TLS setting from fixELFSymbolsInTLSFixups to getRelocType

The legacy generic code uses `ELFObjectWriter::fixSymbolsInTLSFixups` to
set `STT_TLS` (and use an unnecessary expression walk). The better way
is to do this in `getRelocType`, which I have done for AArch64, PowerPC,
RISC-V, and X86.



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