diff options
author | Roland McGrath <roland@hack.frob.com> | 2013-08-27 11:04:46 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2013-08-27 11:04:46 -0700 |
commit | fb431262c12a8e2630225518300a4e1e0c4e918b (patch) | |
tree | 4b91f8e7d6246a1a6680500add0c4075b8f018ea /resolv | |
parent | bd81123a8ba99ac30bcf227be5103cf2863e27cb (diff) | |
download | glibc-fb431262c12a8e2630225518300a4e1e0c4e918b.zip glibc-fb431262c12a8e2630225518300a4e1e0c4e918b.tar.gz glibc-fb431262c12a8e2630225518300a4e1e0c4e918b.tar.bz2 |
Clean up _res declaration to use __thread unconditionally.
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/res_libc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/resolv/res_libc.c b/resolv/res_libc.c index 48d3200..0b37f46 100644 --- a/resolv/res_libc.c +++ b/resolv/res_libc.c @@ -122,9 +122,7 @@ libc_hidden_def (__res_maybe_init) This differs from plain `struct __res_state _res;' in that it doesn't create a common definition, but a plain symbol that resides in .bss, which can have an alias. */ -struct __res_state _res __attribute__((section (".bss"))); - -#include <tls.h> +struct __res_state _res __attribute__ ((nocommon)); #undef __resp __thread struct __res_state *__resp = &_res; |