diff options
author | Roland McGrath <roland@gnu.org> | 2009-02-28 02:26:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2009-02-28 02:26:51 +0000 |
commit | e965d5147e216ceb4157ad478cd271af96866e77 (patch) | |
tree | 7b1fadba2e158c0b428475c5dae5bf49d26c6327 /nptl | |
parent | 8744841f9ab79b725d37395d6f4057a92bdc9953 (diff) | |
download | glibc-e965d5147e216ceb4157ad478cd271af96866e77.tar.gz glibc-e965d5147e216ceb4157ad478cd271af96866e77.tar.xz glibc-e965d5147e216ceb4157ad478cd271af96866e77.zip |
* Makeconfig (%.v.i): Depend on Makeconfig.
Exclude % lines from initial #-comment removal.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/init.c | 2 | ||||
-rw-r--r-- | nptl/pthread_create.c | 6 |
3 files changed, 9 insertions, 4 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 3c3ce82566..c906c66b79 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2009-02-27 Roland McGrath <roland@redhat.com> + + * init.c (__nptl_initial_report_events): Mark __attribute_used__. + * pthread_create.c (__nptl_threads_events, __nptl_last_event): Likewise. + 2009-02-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define diff --git a/nptl/init.c b/nptl/init.c index d0f1fc3be7..ba3caeead8 100644 --- a/nptl/init.c +++ b/nptl/init.c @@ -260,7 +260,7 @@ extern void **__libc_dl_error_tsd (void) __attribute__ ((const)); /* This can be set by the debugger before initialization is complete. */ -static bool __nptl_initial_report_events; +static bool __nptl_initial_report_events __attribute_used__; void __pthread_initialize_minimal_internal (void) diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 5fcc72cfbc..c69397906f 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002-2007, 2008 Free Software Foundation, Inc. +/* Copyright (C) 2002-2007,2008,2009 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -40,10 +40,10 @@ static int start_thread (void *arg); int __pthread_debug; /* Globally enabled events. */ -static td_thr_events_t __nptl_threads_events; +static td_thr_events_t __nptl_threads_events __attribute_used__; /* Pointer to descriptor with the last event. */ -static struct pthread *__nptl_last_event; +static struct pthread *__nptl_last_event __attribute_used__; /* Number of threads running. */ unsigned int __nptl_nthreads = 1; |