From: Stan Shebs Date: Thu, 18 Jan 2018 23:11:22 +0000 (-0800) Subject: Avoid the nonstandard .tls_common X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f850d180b07fad159b9217d1e95de9571f3af381;p=thirdparty%2Fglibc.git Avoid the nonstandard .tls_common --- diff --git a/elf/tls-macros.h b/elf/tls-macros.h index e25e33b0f03..772862dff2a 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)