1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-20 16:43:03 +03:00

* 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.
This commit is contained in:
Roland McGrath
2003-03-14 23:12:09 +00:00
parent 5228750594
commit 415ef7d893
6 changed files with 76 additions and 4 deletions

View File

@ -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. */