diff options
author | Richard Henderson <rth@redhat.com> | 2004-12-17 10:11:44 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2004-12-17 10:11:44 +0000 |
commit | cbc53df0fa0726c6267978250c1f53bf9517bf39 (patch) | |
tree | bba468278efe59e95c6ac05cd3ed286e07ecea3e /nptl/sysdeps | |
parent | 9b7adbb732a1613dd454e966b3c18db0070f9f28 (diff) | |
download | glibc-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.sym | 1 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/alpha/clone.S | 2 |
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> |