about summary refs log tree commit diff
path: root/nptl/pthread_create.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/pthread_create.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/pthread_create.c')
-rw-r--r--nptl/pthread_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index ec004194b2..c0d9ec08f5 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -59,7 +59,7 @@ unsigned int __nptl_nthreads = 1;
 /* Table of the key information.  */
 struct pthread_key_struct __pthread_keys[PTHREAD_KEYS_MAX]
   __attribute__ ((nocommon));
-hidden_def (__pthread_keys)
+hidden_data_def (__pthread_keys)
 
 /* This is for libthread_db only.  */
 const int __pthread_pthread_sizeof_descr = sizeof (struct pthread);