aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-12-17 10:11:44 +0000
committerRichard Henderson <rth@redhat.com>2004-12-17 10:11:44 +0000
commitcbc53df0fa0726c6267978250c1f53bf9517bf39 (patch)
treebba468278efe59e95c6ac05cd3ed286e07ecea3e /nptl/sysdeps
parent9b7adbb732a1613dd454e966b3c18db0070f9f28 (diff)
downloadglibc-cbc53df0fa0726c6267978250c1f53bf9517bf39.tar
glibc-cbc53df0fa0726c6267978250c1f53bf9517bf39.tar.gz
glibc-cbc53df0fa0726c6267978250c1f53bf9517bf39.tar.bz2
glibc-cbc53df0fa0726c6267978250c1f53bf9517bf39.zip
* sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. nptl/ * sysdeps/unix/sysv/linux/alpha/clone.S: New file. * sysdeps/alpha/tcb-offsets.sym (TID_OFFSET): New.
2004-12-17 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/alpha/tcb-offsets.sym1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/alpha/clone.S2
2 files changed, 3 insertions, 0 deletions
diff --git a/nptl/sysdeps/alpha/tcb-offsets.sym b/nptl/sysdeps/alpha/tcb-offsets.sym
index ebd84f35e5..c21a791040 100644
--- a/nptl/sysdeps/alpha/tcb-offsets.sym
+++ b/nptl/sysdeps/alpha/tcb-offsets.sym
@@ -11,3 +11,4 @@
MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads)
PID_OFFSET thread_offsetof (pid)
+TID_OFFSET thread_offsetof (tid)
diff --git a/nptl/sysdeps/unix/sysv/linux/alpha/clone.S b/nptl/sysdeps/unix/sysv/linux/alpha/clone.S
new file mode 100644
index 0000000000..eea1cbeed1
--- /dev/null
+++ b/nptl/sysdeps/unix/sysv/linux/alpha/clone.S
@@ -0,0 +1,2 @@
+#define RESET_PID
+#include <sysdeps/unix/sysv/linux/alpha/clone.S>