about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/alpha
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-01-16 05:23:05 +0000
committerRichard Henderson <rth@redhat.com>2004-01-16 05:23:05 +0000
commitba6838329c3e249ec3d5b6fea5d79eb281526662 (patch)
tree99755aaf7196002e678441bde0b95f7019d9d609 /nptl/sysdeps/unix/sysv/linux/alpha
parent33f0a6c75ee574bd376da63c6e88de98989d3373 (diff)
downloadglibc-ba6838329c3e249ec3d5b6fea5d79eb281526662.tar.gz
glibc-ba6838329c3e249ec3d5b6fea5d79eb281526662.tar.xz
glibc-ba6838329c3e249ec3d5b6fea5d79eb281526662.zip
* sysdeps/alpha/tls.h (tcbhead_t): Add private. (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN, TLS_TCB_SIZE, TLS_PRE_TCB_SIZE, TLS_TCB_ALIGN, INSTALL_DTV, INSTALL_NEW_DTV, GET_DTV, THREAD_DTV, THREAD_SELF, DB_THREAD_SELF): Match ia64. (TLS_TCB_OFFSET, THREAD_ID, NO_TLS_OFFSET): Remove. (THREAD_GETMEM, THREAD_GETMEM_NC): Simplify. (THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/unix/sysv/linux/alpha/createthread.c (TLS_VALUE): Match ia64.
2004-01-15  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/tls.h (tcbhead_t): Add private.
	(TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN, TLS_TCB_SIZE,
	TLS_PRE_TCB_SIZE, TLS_TCB_ALIGN, INSTALL_DTV, INSTALL_NEW_DTV,
	GET_DTV, THREAD_DTV, THREAD_SELF, DB_THREAD_SELF): Match ia64.
	(TLS_TCB_OFFSET, THREAD_ID, NO_TLS_OFFSET): Remove.
	(THREAD_GETMEM, THREAD_GETMEM_NC): Simplify.
	(THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
	* sysdeps/unix/sysv/linux/alpha/createthread.c (TLS_VALUE): Match ia64.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/alpha')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/alpha/createthread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/alpha/createthread.c b/nptl/sysdeps/unix/sysv/linux/alpha/createthread.c
index b29c57b52a..6a51e73da6 100644
--- a/nptl/sysdeps/unix/sysv/linux/alpha/createthread.c
+++ b/nptl/sysdeps/unix/sysv/linux/alpha/createthread.c
@@ -17,8 +17,7 @@
    02111-1307 USA.  */
 
 /* Value passed to 'clone' for initialization of the thread register.  */
-#define TLS_VALUE ((void *) (pd) \
-		   + TLS_TCB_OFFSET + TLS_PRE_TCB_SIZE)
+#define TLS_VALUE (pd + 1)
 
 /* Get the real implementation.	 */
 #include <nptl/sysdeps/pthread/createthread.c>