diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 16:50:28 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 16:50:28 -0400 |
commit | d063d164335938d557460bebaa7cfe388157b627 (patch) | |
tree | 92ef3f54771c0a28190b76ee45f90d16fd39714f /elf/dl-tsd.c | |
parent | 3ce1f2959437e952b9db4eaeed2407424f11a4d1 (diff) | |
download | glibc-d063d164335938d557460bebaa7cfe388157b627.tar.gz glibc-d063d164335938d557460bebaa7cfe388157b627.tar.xz glibc-d063d164335938d557460bebaa7cfe388157b627.zip |
Remove support for !USE___THREAD
Diffstat (limited to 'elf/dl-tsd.c')
-rw-r--r-- | elf/dl-tsd.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/elf/dl-tsd.c b/elf/dl-tsd.c index f01f8d652e..ea0fccd989 100644 --- a/elf/dl-tsd.c +++ b/elf/dl-tsd.c @@ -1,5 +1,5 @@ /* Thread-local data used by error handling for runtime dynamic linker. - Copyright (C) 2002, 2005 Free Software Foundation, Inc. + Copyright (C) 2002, 2005, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -30,17 +30,13 @@ void ** __attribute__ ((const)) _dl_initial_error_catch_tsd (void) { -# if USE___THREAD static __thread void *data; -# else - static void *data; -# endif return &data; } void **(*_dl_error_catch_tsd) (void) __attribute__ ((const)) = &_dl_initial_error_catch_tsd; -# elif USE___THREAD +# else /* libpthread sets _dl_error_catch_tsd to point to this function. We define it here instead of in libpthread so that it doesn't |