about summary refs log tree commit diff
path: root/REORG.TODO/elf/tst-tlsmod13.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/elf/tst-tlsmod13.c')
-rw-r--r--REORG.TODO/elf/tst-tlsmod13.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/REORG.TODO/elf/tst-tlsmod13.c b/REORG.TODO/elf/tst-tlsmod13.c
new file mode 100644
index 0000000000..7712d8b8c8
--- /dev/null
+++ b/REORG.TODO/elf/tst-tlsmod13.c
@@ -0,0 +1,7 @@
+__thread int a[2] __attribute__ ((tls_model ("initial-exec")));
+
+int
+foo (void)
+{
+  return a[0];
+}