diff options
author | Xing Li <lixing@loongson.cn> | 2024-09-10 09:15:33 +0800 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-10-22 20:36:09 -0400 |
commit | 61399d4bd02ae1ec03068445aa7ffe9174466bfd (patch) | |
tree | 4a85c66e59c4068606f60d2e8eb81ea235d175f1 /arch | |
parent | 9b6a24f9c56caf70289c1fa3470f4841808ef3b7 (diff) | |
download | musl-61399d4bd02ae1ec03068445aa7ffe9174466bfd.tar.gz |
loongarch64: add TLSDESC support
Diffstat (limited to 'arch')
-rw-r--r-- | arch/loongarch64/reloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch64/reloc.h b/arch/loongarch64/reloc.h index 61eaca9e..a4db6a9c 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" ) |