diff options
Diffstat (limited to 'ld/testsuite/ld-vxworks/tls-3.s')
-rw-r--r-- | ld/testsuite/ld-vxworks/tls-3.s | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ld/testsuite/ld-vxworks/tls-3.s b/ld/testsuite/ld-vxworks/tls-3.s new file mode 100644 index 0000000..39420c2 --- /dev/null +++ b/ld/testsuite/ld-vxworks/tls-3.s @@ -0,0 +1,34 @@ + .globl foo +foo: + + .section .tls_data,"a" + .p2align 2 + + .type i,%object + .size i,4 +i: + .space 4 + + .globl j + .type j,%object + .size j,4 +j: + .space 4 + + .section .tls_vars,"a" + .p2align 2 + .type __tls__i,%object + .size __tls__i,12 +__tls__i: + .4byte i + .4byte 0 + .4byte 4 + + .globl __tls__j + .type __tls__j,%object + .size __tls__j,12 +__tls__j: + .4byte j + .4byte 0 + .4byte 4 + |