]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Avoid the nonstandard .tls_common
authorStan Shebs <stanshebs@google.com>
Thu, 18 Jan 2018 23:11:22 +0000 (15:11 -0800)
committerStan Shebs <stanshebs@google.com>
Thu, 25 Jan 2018 00:03:39 +0000 (16:03 -0800)
elf/tls-macros.h

index e25e33b0f032099dddb6d276d8237423c96efc55..772862dff2aed51d8f7c378c77ccac228b7624c2 100644 (file)
@@ -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)