about summary refs log tree commit diff
path: root/linuxthreads/tst-tls1mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/tst-tls1mode.c')
-rw-r--r--linuxthreads/tst-tls1mode.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/linuxthreads/tst-tls1mode.c b/linuxthreads/tst-tls1mode.c
new file mode 100644
index 0000000000..845d31a4e4
--- /dev/null
+++ b/linuxthreads/tst-tls1mode.c
@@ -0,0 +1,8 @@
+#include <tst-tls1.h>
+
+#ifdef TLS_REGISTER
+static __thread int e1 = 24;
+static __thread char e2 [32] __attribute__ ((aligned (64)));
+TLS_REGISTER (e1)
+TLS_REGISTER (e2)
+#endif