summaryrefslogtreecommitdiff
path: root/elf/tst-tlsalign-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsalign-lib.c')
-rw-r--r--elf/tst-tlsalign-lib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/tst-tlsalign-lib.c b/elf/tst-tlsalign-lib.c
new file mode 100644
index 0000000000..4371e581a6
--- /dev/null
+++ b/elf/tst-tlsalign-lib.c
@@ -0,0 +1,6 @@
+__thread int mod_tdata1 = 1;
+__thread int mod_tdata2 __attribute__ ((aligned (0x10))) = 2;
+__thread int mod_tdata3 __attribute__ ((aligned (0x1000))) = 4;
+__thread int mod_tbss1;
+__thread int mod_tbss2 __attribute__ ((aligned (0x10)));
+__thread int mod_tbss3 __attribute__ ((aligned (0x1000)));