about summary refs log tree commit diff
path: root/nptl/sysdeps/powerpc/tls.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-01-06 10:31:21 +0000
committerRoland McGrath <roland@gnu.org>2004-01-06 10:31:21 +0000
commit763c0490a22c03e1f5e9c9a4279e975c2e4953c3 (patch)
treed1d7665c28d1cad5ff756acb80ad7ec801c3323d /nptl/sysdeps/powerpc/tls.h
parent387533915f738e20698cce92d90c0677c991c3fc (diff)
downloadglibc-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/powerpc/tls.h')
-rw-r--r--nptl/sysdeps/powerpc/tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/powerpc/tls.h b/nptl/sysdeps/powerpc/tls.h
index 02595637c7..ce7f5bd53d 100644
--- a/nptl/sysdeps/powerpc/tls.h
+++ b/nptl/sysdeps/powerpc/tls.h
@@ -131,9 +131,9 @@ register void *__thread_register __asm__ ("r13");
 
 /* Magic for libthread_db to know how to do THREAD_SELF.  */
 # define DB_THREAD_SELF							      \
-  REGISTER (32, PT_THREAD_POINTER * 4,					      \
+  REGISTER (32, 32, PT_THREAD_POINTER * 4,					      \
 	    - TLS_TCB_OFFSET - TLS_PRE_TCB_SIZE)			      \
-  REGISTER (64, PT_THREAD_POINTER * 8,					      \
+  REGISTER (64, 64, PT_THREAD_POINTER * 8,					      \
 	    - TLS_TCB_OFFSET - TLS_PRE_TCB_SIZE)
 
 /* Read member of the thread descriptor directly.  */