X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-vxworks%2Ftls-3.s;fp=ld%2Ftestsuite%2Fld-vxworks%2Ftls-3.s;h=39420c2c8d1771d619a8f34022a81786a2be5cbc;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 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 +