[PATCH v5 2/3] RISC-V: Add TLSDESC reloc definitions.
Tatsuyuki Ishi
ishitatsuyuki@gmail.com
Fri Mar 29 05:55:48 GMT 2024
---
elf/elf.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/elf/elf.h b/elf/elf.h
index 55b2e87860..84e8766437 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -4080,6 +4080,7 @@ enum
#define R_RISCV_TLS_DTPREL64 9
#define R_RISCV_TLS_TPREL32 10
#define R_RISCV_TLS_TPREL64 11
+#define R_RISCV_TLSDESC 12
#define R_RISCV_BRANCH 16
#define R_RISCV_JAL 17
#define R_RISCV_CALL 18
@@ -4126,6 +4127,10 @@ enum
#define R_RISCV_PLT32 59
#define R_RISCV_SET_ULEB128 60
#define R_RISCV_SUB_ULEB128 61
+#define R_RISCV_TLSDESC_HI20 62
+#define R_RISCV_TLSDESC_LOAD_LO12 63
+#define R_RISCV_TLSDESC_ADD_LO12 64
+#define R_RISCV_TLSDESC_CALL 65
#define R_RISCV_NUM 62
--
2.44.0
More information about the Libc-alpha
mailing list