aboutsummaryrefslogtreecommitdiff
path: root/arch/loongarch64/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch64/reloc.h')
-rw-r--r--arch/loongarch64/reloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch64/reloc.h b/arch/loongarch64/reloc.h
index 61eaca9..a4db6a9 100644
--- a/arch/loongarch64/reloc.h
+++ b/arch/loongarch64/reloc.h
@@ -17,6 +17,7 @@
#define REL_TPOFF R_LARCH_TLS_TPREL64
#define REL_RELATIVE R_LARCH_RELATIVE
#define REL_SYMBOLIC R_LARCH_64
+#define REL_TLSDESC R_LARCH_TLS_DESC64
#define CRTJMP(pc,sp) __asm__ __volatile__( \
"move $sp, %1 ; jr %0" : : "r"(pc), "r"(sp) : "memory" )