summary refs log tree commit diff
path: root/nptl/tst-getpid2.c
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/tst-getpid2.c
parent2da9a6a1a7e08651875ac0026523ab6747caef2e (diff)
downloadglibc-484cc8018b9e27a8fd90f15eaeee132a430131d8.tar.gz
glibc-484cc8018b9e27a8fd90f15eaeee132a430131d8.tar.xz
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/tst-getpid2.c')
-rw-r--r--nptl/tst-getpid2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/tst-getpid2.c b/nptl/tst-getpid2.c
new file mode 100644
index 0000000000..fc98cb60db
--- /dev/null
+++ b/nptl/tst-getpid2.c
@@ -0,0 +1,2 @@
+#define TEST_CLONE_FLAGS CLONE_VM
+#include "tst-getpid1.c"