[all-commits] [llvm/llvm-project] 22c1bd: [ELF] Rename R_TLS to R_TPREL and R_NEG_TLS to R_T...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Dec 18 08:29:08 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 22c1bd57bf34391cd16e91fa4830dba4cdf17aa2
https://github.com/llvm/llvm-project/commit/22c1bd57bf34391cd16e91fa4830dba4cdf17aa2
Author: Fangrui Song <i at maskray.me>
Date: 2020-12-18 (Fri, 18 Dec 2020)
Changed paths:
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Arch/ARM.cpp
M lld/ELF/Arch/Hexagon.cpp
M lld/ELF/Arch/Mips.cpp
M lld/ELF/Arch/PPC.cpp
M lld/ELF/Arch/PPC64.cpp
M lld/ELF/Arch/RISCV.cpp
M lld/ELF/Arch/SPARCV9.cpp
M lld/ELF/Arch/X86.cpp
M lld/ELF/Arch/X86_64.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/Relocations.h
Log Message:
-----------
[ELF] Rename R_TLS to R_TPREL and R_NEG_TLS to R_TPREL_NEG. NFC
The scope of R_TLS (TP offset relocation types (TPREL/TPOFF) used for the
local-exec TLS model) is actually narrower than its name may imply. R_TLS_NEG
is only used by Solaris R_386_TLS_LE_32.
Rename them so that they will be less confusing.
Reviewed By: grimar, psmith, rprichard
Differential Revision: https://reviews.llvm.org/D93467
More information about the All-commits
mailing list