diff --git a/glibc-2.9-20081201/nptl/init.c b/glibc-2.9-20081201/nptl/init.c index d445de0..85ea778 100644 --- a/glibc-2.9-20081201/nptl/init.c +++ b/glibc-2.9-20081201/nptl/init.c @@ -236,7 +236,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/glibc-2.9-20081201/nptl/pthread_create.c b/glibc-2.9-20081201/nptl/pthread_create.c index 5fcc72c..142f058 100644 --- a/glibc-2.9-20081201/nptl/pthread_create.c +++ b/glibc-2.9-20081201/nptl/pthread_create.c @@ -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;