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