From: Roland McGrath Date: Tue, 6 Jan 2004 10:31:07 +0000 (+0000) Subject: 2003-12-11 Ulrich Weigand X-Git-Tag: upstream/2.20~3636^2~1245 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1c81c0040a3b23e634de13180e66f40f62d879b;p=platform%2Fupstream%2Flinaro-glibc.git 2003-12-11 Ulrich Weigand * 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. --- diff --git a/sysdeps/alpha/nptl/tls.h b/sysdeps/alpha/nptl/tls.h index 8f61bb7..f947fcf 100644 --- a/sysdeps/alpha/nptl/tls.h +++ b/sysdeps/alpha/nptl/tls.h @@ -120,7 +120,7 @@ typedef struct /* Magic for libthread_db to know how to do THREAD_SELF. */ # define DB_THREAD_SELF \ - REGISTER (64, 32 * 8, - TLS_TCB_OFFSET - TLS_PRE_TCB_SIZE) + REGISTER (64, 64, 32 * 8, - TLS_TCB_OFFSET - TLS_PRE_TCB_SIZE) /* Identifier for the current thread. THREAD_SELF is usable but sometimes more expensive than necessary as in this case. */