aboutsummaryrefslogtreecommitdiff
path: root/nptl/init.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-11 09:20:36 +0000
committerRoland McGrath <roland@gnu.org>2003-03-11 09:20:36 +0000
commit5d5d5969b17422e3b1af6f88436e91f32a36fd58 (patch)
treec21636b58c8ee0370e69bee0ee7e6562fea0cec3 /nptl/init.c
parentd0aacb47f9899e89b5b54139915c873934bf9c91 (diff)
downloadglibc-5d5d5969b17422e3b1af6f88436e91f32a36fd58.tar
glibc-5d5d5969b17422e3b1af6f88436e91f32a36fd58.tar.gz
glibc-5d5d5969b17422e3b1af6f88436e91f32a36fd58.tar.bz2
glibc-5d5d5969b17422e3b1af6f88436e91f32a36fd58.zip
2003-03-11 Jakub Jelinek <jakub@redhat.com>
* sysdeps/pthread/createthread.c (ARCH_CLONE): Define if not defined. (create_thread): Only assert PD->tcb != NULL under [TLS_TCB_AT_TP]. Use ARCH_CLONE. * allocatestack.c (ALLOCATE_STACK_PARMS): New macro. [NEED_SEPARATE_REGISTER_STACK] (STACK_VARIABLES, STACK_VARIABLES_ARGS, STACK_VARIABLES_PARMS, ALLOCATE_STACK_PARMS, ALLOCATE_STACK): New macros. (TLS_TPADJ): New macro. (get_cached_stack, queue_stack, __deallocate_stack): Use TLS_TPADJ. (allocate_stack): Handle TLS_DTV_AT_TP and NEED_SEPARATE_REGISTER_STACK. Use TLS_TPADJ. * pthread_create.c (__pthread_create_2_1) [! TLS_TCB_AT_TP]: Don't set PD->self. * init.c [__ia64__] (__NR_set_tid_address): Define.
Diffstat (limited to 'nptl/init.c')
-rw-r--r--nptl/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/init.c b/nptl/init.c
index e0100ee479..df8e67a83e 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -37,6 +37,8 @@
having the definition remove these lines. */
#if defined __s390__
# define __NR_set_tid_address 252
+#elif defined __ia64__
+# define __NR_set_tid_address 1233
#else
# define __NR_set_tid_address 258
#endif