diff options
Diffstat (limited to 'elf/tst-tlsalign-lib.c')
-rw-r--r-- | elf/tst-tlsalign-lib.c | 6 |
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 0000000..4371e58 --- /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))); |