about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStan Shebs <stanshebs@google.com>2018-01-18 15:11:22 -0800
committerStan Shebs <stanshebs@google.com>2019-04-30 15:44:35 -0700
commit1ba243089016b2797df5edfcb3e8525ec02b0729 (patch)
tree9d3a061f589f13dfabb32e57f78265e8cf08a8da
parent98fa878ff0bc9941d0d68257f0cd4990439dac18 (diff)
downloadglibc-1ba243089016b2797df5edfcb3e8525ec02b0729.tar.gz
glibc-1ba243089016b2797df5edfcb3e8525ec02b0729.tar.xz
glibc-1ba243089016b2797df5edfcb3e8525ec02b0729.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)