about summary refs log tree commit diff
path: root/nptl/libc_multiple_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/libc_multiple_threads.c')
-rw-r--r--nptl/libc_multiple_threads.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/libc_multiple_threads.c b/nptl/libc_multiple_threads.c
index 60328023cd..a0e7932c26 100644
--- a/nptl/libc_multiple_threads.c
+++ b/nptl/libc_multiple_threads.c
@@ -23,6 +23,7 @@
 /* Variable set to a nonzero value either if more than one thread runs or ran,
    or if a single-threaded process is trying to cancel itself.  See
    nptl/descr.h for more context on the single-threaded process case.  */
-int __libc_multiple_threads attribute_hidden;
+int __libc_multiple_threads __attribute__ ((nocommon));
+libc_hidden_data_def (__libc_multiple_threads)
 # endif
 #endif