diff options
author | Stan Shebs <stanshebs@google.com> | 2018-01-18 15:11:22 -0800 |
---|---|---|
committer | Stan Shebs <stanshebs@google.com> | 2019-04-30 15:44:35 -0700 |
commit | 1ba243089016b2797df5edfcb3e8525ec02b0729 (patch) | |
tree | 9d3a061f589f13dfabb32e57f78265e8cf08a8da | |
parent | 98fa878ff0bc9941d0d68257f0cd4990439dac18 (diff) | |
download | glibc-1ba243089016b2797df5edfcb3e8525ec02b0729.tar.gz glibc-1ba243089016b2797df5edfcb3e8525ec02b0729.tar.xz glibc-1ba243089016b2797df5edfcb3e8525ec02b0729.zip |
Avoid the nonstandard .tls_common
-rw-r--r-- | elf/tls-macros.h | 2 |
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) |