* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for
commit94db64842447989c08e55d9c78328a5b4c544241
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Dec 2004 14:20:59 +0000 (7 14:20 +0000)
committerJakub Jelinek <jakub@redhat.com>
Tue, 7 Dec 2004 14:20:59 +0000 (7 14:20 +0000)
treefd0bac340acc891d0db8299399b5cdbdc7eed190
parent37756a838922d080448793aa5ab5e90c5aba78c1
* 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.
nptl/
* sysdeps/ia64/tcb-offsets.sym (TID): Add.
* sysdeps/unix/sysv/linux/ia64/clone2.S: New file.

* Makefile (tests): Add tst-getpid2.c.
* tst-getpid1.c (TEST_CLONE_FLAGS): Define.
(do_test): Use it.  Use __clone2 instead of clone on ia64.
* tst-getpid2.c: New test.
ChangeLog
nptl/ChangeLog
nptl/Makefile
nptl/sysdeps/ia64/tcb-offsets.sym
nptl/sysdeps/unix/sysv/linux/ia64/clone2.S [new file with mode: 0644]
nptl/tst-getpid1.c
nptl/tst-getpid2.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/ia64/clone2.S