Преглед изворни кода

riscv64: fix DB_THREAD_SELF, fixes 4 testsuite failures

Waldemar Brodkorb пре 5 година
родитељ
комит
4bae9977da
1 измењених фајлова са 1 додато и 1 уклоњено
  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) \