aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-03-22 20:00:52 -0700
committerFangrui Song <i@maskray.me>2025-03-22 20:00:52 -0700
commit0a0f691af6468372d2f5d31b83317fcc263e89d4 (patch)
tree527fe5570082f191cc4d6e1c51491cf319fa0609 /llvm/lib/MC/ELFObjectWriter.cpp
parent8ec96cc8866769b6bd17648a922ad1c0b9a39e69 (diff)
downloadllvm-0a0f691af6468372d2f5d31b83317fcc263e89d4.zip
llvm-0a0f691af6468372d2f5d31b83317fcc263e89d4.tar.gz
llvm-0a0f691af6468372d2f5d31b83317fcc263e89d4.tar.bz2
[Hexagon] 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.
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions