diff options
author | Roland McGrath <roland@gnu.org> | 2004-01-06 10:31:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-01-06 10:31:21 +0000 |
commit | 763c0490a22c03e1f5e9c9a4279e975c2e4953c3 (patch) | |
tree | d1d7665c28d1cad5ff756acb80ad7ec801c3323d /nptl/sysdeps/sparc/tls.h | |
parent | 387533915f738e20698cce92d90c0677c991c3fc (diff) | |
download | glibc-763c0490a22c03e1f5e9c9a4279e975c2e4953c3.tar.gz glibc-763c0490a22c03e1f5e9c9a4279e975c2e4953c3.tar.xz glibc-763c0490a22c03e1f5e9c9a4279e975c2e4953c3.zip |
* sysdeps/alpha/tls.h (DB_THREAD_SELF): Pass bit size of thread
register as second parameter to the REGISTER macro. * sysdeps/ia64/tls.h (DB_THREAD_SELF): Likewise. * sysdeps/powerpc/tls.h (DB_THREAD_SELF): Likewise. * sysdeps/sh/tls.h (DB_THREAD_SELF): Likewise. * sysdeps/sparc/tls.h (DB_THREAD_SELF): Likewise. * sysdeps/s390/tls.h (DB_THREAD_SELF): Pass __WORDSIZE as bit size of thread register as second parameter to REGISTER macro in 64 case.
Diffstat (limited to 'nptl/sysdeps/sparc/tls.h')
-rw-r--r-- | nptl/sysdeps/sparc/tls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/sparc/tls.h b/nptl/sysdeps/sparc/tls.h index 8c4264f24f..8980f9fc0c 100644 --- a/nptl/sysdeps/sparc/tls.h +++ b/nptl/sysdeps/sparc/tls.h @@ -107,7 +107,7 @@ register struct pthread *__thread_self __asm__("%g7"); /* Magic for libthread_db to know how to do THREAD_SELF. */ # define DB_THREAD_SELF_INCLUDE <sys/ucontext.h> # define DB_THREAD_SELF \ - REGISTER (32, REG_G7 * 4, 0) REGISTER (64, REG_G7 * 8, 0) + REGISTER (32, 32, REG_G7 * 4, 0) REGISTER (64, 64, REG_G7 * 8, 0) /* Access to data in the thread descriptor is easy. */ #define THREAD_GETMEM(descr, member) \ |