aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <stanshebs@google.com>2018-01-18 15:11:22 -0800
committerStan Shebs <stanshebs@google.com>2018-01-24 16:03:39 -0800
commitf850d180b07fad159b9217d1e95de9571f3af381 (patch)
treebfa070c445199d36d2dc08be9fdf4be28dc47fb9
parent91b2cffa9fd5956b8d949e06196ab4c37a8a7f9a (diff)
downloadglibc-f850d180b07fad159b9217d1e95de9571f3af381.tar
glibc-f850d180b07fad159b9217d1e95de9571f3af381.tar.gz
glibc-f850d180b07fad159b9217d1e95de9571f3af381.tar.bz2
glibc-f850d180b07fad159b9217d1e95de9571f3af381.zip
Avoid the nonstandard .tls_common
-rw-r--r--elf/tls-macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tls-macros.h b/elf/tls-macros.h
index e25e33b0f0..772862dff2 100644
--- a/elf/tls-macros.h
+++ b/elf/tls-macros.h
@@ -1,7 +1,7 @@
/* Macros to support TLS testing in times of missing compiler support. */
#define COMMON_INT_DEF(x) \
- asm (".tls_common " #x ",4,4")
+ __thread int x;
/* XXX Until we get compiler support we don't need declarations. */
#define COMMON_INT_DECL(x)