diff options
author | Mingxiang Lu <lu.mingxiang@h3c.com> | 2024-09-29 20:26:43 +0800 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-10-30 12:07:59 +0100 |
commit | f8028afeaffd727bc335681491b25a6f8fe51f4d (patch) | |
tree | 46d9d114ae33a3191b9f24e3278a92d25e452cde /libpthread/nptl/sysdeps/riscv64/dl-tls.h | |
parent | 3e7f46572e4a2e12c8cae5f04b37f3ea30d41656 (diff) |
Signed-off-by: Mingxiang Lu <lu.mingxiang@h3c.com>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'libpthread/nptl/sysdeps/riscv64/dl-tls.h')
-rw-r--r-- | libpthread/nptl/sysdeps/riscv64/dl-tls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/riscv64/dl-tls.h b/libpthread/nptl/sysdeps/riscv64/dl-tls.h index 31991be0d..4124b7c78 100644 --- a/libpthread/nptl/sysdeps/riscv64/dl-tls.h +++ b/libpthread/nptl/sysdeps/riscv64/dl-tls.h @@ -32,3 +32,6 @@ extern void *__tls_get_addr (tls_index *ti); #define GET_ADDR_OFFSET (ti->ti_offset + TLS_DTV_OFFSET) #define __TLS_GET_ADDR(__ti) (__tls_get_addr (__ti) - TLS_DTV_OFFSET) + +/* Value used for dtv entries for which the allocation is delayed. */ +#define TLS_DTV_UNALLOCATED ((void *) -1l) |