From f850d180b07fad159b9217d1e95de9571f3af381 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Thu, 18 Jan 2018 15:11:22 -0800 Subject: [PATCH] Avoid the nonstandard .tls_common --- elf/tls-macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.2