aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-03-22 19:55:15 -0700
committerFangrui Song <i@maskray.me>2025-03-22 19:55:15 -0700
commit8ec96cc8866769b6bd17648a922ad1c0b9a39e69 (patch)
tree9e7afc55c147fd5a77b7772629d8c2d1302a2248 /llvm/lib/MC/ELFObjectWriter.cpp
parent445837a3630520e9292b84b6b8dc0f86d2eccbae (diff)
downloadllvm-8ec96cc8866769b6bd17648a922ad1c0b9a39e69.zip
llvm-8ec96cc8866769b6bd17648a922ad1c0b9a39e69.tar.gz
llvm-8ec96cc8866769b6bd17648a922ad1c0b9a39e69.tar.bz2
[LoongArch] 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