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:
@ -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);
|
||||
|
Reference in New Issue
Block a user