summaryrefslogtreecommitdiff
path: root/linuxthreads/tst-tls1modd.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/tst-tls1modd.c')
-rw-r--r--linuxthreads/tst-tls1modd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/tst-tls1modd.c b/linuxthreads/tst-tls1modd.c
new file mode 100644
index 0000000000..cd68e0c26a
--- /dev/null
+++ b/linuxthreads/tst-tls1modd.c
@@ -0,0 +1,6 @@
+#include <tst-tls1.h>
+
+#ifdef TLS_REGISTER
+static __thread int d;
+TLS_REGISTER (d)
+#endif