[clang] [clang-tools-extra] [llvm] [RISCV] Support Global Dynamic TLSDESC in the RISC-V backend (PR #66915)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 3 21:41:44 PST 2024
================
@@ -71,6 +71,18 @@ enum Fixups {
// Used to generate an R_RISCV_ALIGN relocation, which indicates the linker
// should fixup the alignment after linker relaxation.
fixup_riscv_align,
+ // 20-bit fixup corresponding to %tlsdesc_hi(foo) for instructions like
+ // auipc
+ fixup_riscv_tlsdesc_hi20,
+ // 12-bit fixup corresponding to %tlsdesc_load_lo(foo) for instructions like
+ // addi
----------------
topperc wrote:
Should this say load instead of addi?
https://github.com/llvm/llvm-project/pull/66915
More information about the llvm-commits
mailing list