about summary refs log tree commit diff
path: root/nptl/pthread_create.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-03 02:50:58 +0000
committerRoland McGrath <roland@gnu.org>2002-12-03 02:50:58 +0000
commitfa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff (patch)
tree413449448f0ca03a2a7601f58c77ce01c8927199 /nptl/pthread_create.c
parent2d14868942150183adaf0bc80b8ed6b70b65261e (diff)
downloadglibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.tar.gz
glibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.tar.xz
glibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.zip
* 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.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 451a9b3f99..5fef400ee4 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)