about summary refs log tree commit diff
path: root/nptl/allocatestack.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/allocatestack.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/allocatestack.c')
-rw-r--r--nptl/allocatestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index 8e77543927..45e4d87c49 100644
--- a/nptl/allocatestack.c
+++ b/nptl/allocatestack.c
@@ -102,7 +102,7 @@ static LIST_HEAD (stack_used);
 /* List of the threads with user provided stacks in use.  No need to
    initialize this, since it's done in __pthread_initialize_minimal.  */
 list_t __stack_user __attribute__ ((nocommon));
-hidden_def (__stack_user)
+hidden_data_def (__stack_user)
 
 #if COLORING_INCREMENT != 0
 /* Number of threads created.  */