about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/ia64/createthread.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-07 06:10:18 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-07 06:10:18 +0000
commit253eb3a0acfae12863c40ef6c6b0128d5b0dc02b (patch)
tree518cbd1b8d05996f4eb31a0cfbbf8789844fcb69 /nptl/sysdeps/unix/sysv/linux/ia64/createthread.c
parent587d6ddc60bbdf561be3f217280220af9102c3e8 (diff)
downloadglibc-253eb3a0acfae12863c40ef6c6b0128d5b0dc02b.tar.gz
glibc-253eb3a0acfae12863c40ef6c6b0128d5b0dc02b.tar.xz
glibc-253eb3a0acfae12863c40ef6c6b0128d5b0dc02b.zip
* elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
	Reported by Ulrich Weigand <uweigand@de.ibm.com>.

	* elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/ia64/createthread.c')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/ia64/createthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/ia64/createthread.c b/nptl/sysdeps/unix/sysv/linux/ia64/createthread.c
index 8ac06e8101..cd5f8137d5 100644
--- a/nptl/sysdeps/unix/sysv/linux/ia64/createthread.c
+++ b/nptl/sysdeps/unix/sysv/linux/ia64/createthread.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>.
 
@@ -18,7 +18,7 @@
    02111-1307 USA.  */
 
 /* Value passed to 'clone' for initialization of the thread register.  */
-#define TLS_VALUE (pd + 1)
+#define TLS_VALUE ((char *) pd + TLS_PRE_TCB_SIZE)
 
 #define ARCH_CLONE __clone2