diff options
author | Fangrui Song <i@maskray.me> | 2025-03-22 19:55:15 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-03-22 19:55:15 -0700 |
commit | 8ec96cc8866769b6bd17648a922ad1c0b9a39e69 (patch) | |
tree | 9e7afc55c147fd5a77b7772629d8c2d1302a2248 /llvm/lib/MC/ELFObjectWriter.cpp | |
parent | 445837a3630520e9292b84b6b8dc0f86d2eccbae (diff) | |
download | llvm-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