diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-03 02:50:58 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-03 02:50:58 +0000 |
commit | fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff (patch) | |
tree | 413449448f0ca03a2a7601f58c77ce01c8927199 /nptl/pthread_create.c | |
parent | 2d14868942150183adaf0bc80b8ed6b70b65261e (diff) | |
download | glibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.zip glibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.tar.gz glibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.tar.bz2 |
* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
bits of RM are cleared.
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r-- | nptl/pthread_create.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 451a9b3..5fef400 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -38,10 +38,10 @@ static int start_thread_debug (void *arg); int __pthread_debug; /* Globally enabled events. */ -td_thr_events_t __nptl_threads_events attribute_hidden; +static td_thr_events_t __nptl_threads_events; /* Pointer to descriptor with the last event. */ -struct pthread *__nptl_last_event attribute_hidden; +static struct pthread *__nptl_last_event; /* Code to allocate and deallocate a stack. */ @@ -53,8 +53,12 @@ struct pthread *__nptl_last_event attribute_hidden; /* Table of the key information. */ -struct pthread_key_struct __pthread_keys[PTHREAD_KEYS_MAX]; +struct pthread_key_struct __pthread_keys[PTHREAD_KEYS_MAX] + __attribute__ ((section (".bss"))); +hidden_def (__pthread_keys) +/* This is for libthread_db only. */ +const int __pthread_pthread_sizeof_descr = sizeof (struct pthread); struct pthread * __find_in_stack_list (pd) |