From cbc53df0fa0726c6267978250c1f53bf9517bf39 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 17 Dec 2004 10:11:44 +0000 Subject: * 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 * 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/alpha/tcb-offsets.sym | 1 + nptl/sysdeps/unix/sysv/linux/alpha/clone.S | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 nptl/sysdeps/unix/sysv/linux/alpha/clone.S (limited to 'nptl/sysdeps') 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 -- cgit 1.4.1