about summary refs log tree commit diff
path: root/nptl/init.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-14 23:12:09 +0000
committerRoland McGrath <roland@gnu.org>2003-03-14 23:12:09 +0000
commit415ef7d8934577f9f9b460e5ebdf040aaa867b4c (patch)
tree2822d2f925490d26a59a7ccc65f0fe1cae5f87a9 /nptl/init.c
parent52287505946d37a76ecfcb2d1b8a428206d4bb45 (diff)
downloadglibc-415ef7d8934577f9f9b460e5ebdf040aaa867b4c.tar.gz
glibc-415ef7d8934577f9f9b460e5ebdf040aaa867b4c.tar.xz
glibc-415ef7d8934577f9f9b460e5ebdf040aaa867b4c.zip
* allocatestack.c (__stack_user): Use hidden_data_def.
	* pthread_create.c (__pthread_keys): Likewise.

	* init.c [__powerpc__] (__NR_set_tid_address): Define it.

	* tst-fork4.c: New file.
	* Makefile (tests): Add it.
Diffstat (limited to 'nptl/init.c')
-rw-r--r--nptl/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/init.c b/nptl/init.c
index 8ee3df1fa3..33673cd74b 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -44,7 +44,9 @@
 # define __NR_set_tid_address	258
 #elif defined __x86_64__
 # define __NR_set_tid_address	218
-#eli
+#elif defined __powerpc__
+# define __NR_set_tid_address	232
+#elif
 # error "define __NR_set_tid_address"
 #endif
 #endif