Browse Source

riscv64: fix DB_THREAD_SELF, fixes 4 testsuite failures

Waldemar Brodkorb 6 năm trước cách đây
mục cha
commit
4bae9977da
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libpthread/nptl/sysdeps/riscv64/tls.h

+ 1 - 1
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) \