aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/ia64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-07 20:34:18 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-07 20:34:18 +0000
commit484cc8018b9e27a8fd90f15eaeee132a430131d8 (patch)
treeb33d11a83982fbc4658d97954cdb6d857fd776f5 /nptl/sysdeps/ia64
parent2da9a6a1a7e08651875ac0026523ab6747caef2e (diff)
downloadglibc-484cc8018b9e27a8fd90f15eaeee132a430131d8.tar
glibc-484cc8018b9e27a8fd90f15eaeee132a430131d8.tar.gz
glibc-484cc8018b9e27a8fd90f15eaeee132a430131d8.tar.bz2
glibc-484cc8018b9e27a8fd90f15eaeee132a430131d8.zip
Update.
2004-12-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. Restore gp before calling _exit.
Diffstat (limited to 'nptl/sysdeps/ia64')
-rw-r--r--nptl/sysdeps/ia64/tcb-offsets.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/sysdeps/ia64/tcb-offsets.sym b/nptl/sysdeps/ia64/tcb-offsets.sym
index 09ea70ddc7..f5108e0a9e 100644
--- a/nptl/sysdeps/ia64/tcb-offsets.sym
+++ b/nptl/sysdeps/ia64/tcb-offsets.sym
@@ -2,5 +2,6 @@
#include <tls.h>
PID offsetof (struct pthread, pid) - sizeof (struct pthread)
+TID offsetof (struct pthread, tid) - sizeof (struct pthread)
MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads) - sizeof (struct pthread)
SYSINFO_OFFSET offsetof (tcbhead_t, private)