1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-08 23:22:02 +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

@ -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);