summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-11-17 20:09:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2019-11-17 20:09:35 +0100
commit4bae9977da5a322fee4b90c63753420582b84887 (patch)
tree939f59d51e85a4897320369d794b0c2203e776dc /libpthread/nptl/sysdeps
parentb6a2df5856c774f9469e0be4840401e295031ea9 (diff)
riscv64: fix DB_THREAD_SELF, fixes 4 testsuite failures
Diffstat (limited to 'libpthread/nptl/sysdeps')
-rw-r--r--libpthread/nptl/sysdeps/riscv64/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/riscv64/tls.h b/libpthread/nptl/sysdeps/riscv64/tls.h
index 8295c7148..f33e6ed77 100644
--- a/libpthread/nptl/sysdeps/riscv64/tls.h
+++ b/libpthread/nptl/sysdeps/riscv64/tls.h
@@ -160,7 +160,7 @@ register tcbhead_t *__thread_self __asm__("tp");
/* Magic for libthread_db to know how to do THREAD_SELF. */
# define DB_THREAD_SELF \
- CONST_THREAD_AREA (32, sizeof (struct pthread))
+ CONST_THREAD_AREA (64, sizeof (struct pthread))
/* Access to data in the thread descriptor is easy. */
#define THREAD_GETMEM(descr, member) \