X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-cris%2Ftls-gottprelm.s;fp=ld%2Ftestsuite%2Fld-cris%2Ftls-gottprelm.s;h=2853b314fd3ccf053904c52c8068d699894bf88e;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-cris/tls-gottprelm.s b/ld/testsuite/ld-cris/tls-gottprelm.s new file mode 100644 index 0000000..2853b31 --- /dev/null +++ b/ld/testsuite/ld-cris/tls-gottprelm.s @@ -0,0 +1,28 @@ + .text + + .ifndef r + .set r,1 + .endif + + .macro doit + .global tlsdsofngottprelm\@ + .type tlsdsofngottprelm\@,@function + .p2align 1 +tlsdsofngottprelm\@: + move.w x\@:TPOFFGOT16,$r10 +.Lfe\@: + .size tlsdsofngottprelm\@,.Lfe\@-tlsdsofngottprelm\@ + + .globl x\@ + .section .tdata,"awT",@progbits + .p2align 0 + .type x\@, @object + .size x\@, 1 +x\@: + .byte 40 + .previous + .endm + + .rept r + doit + .endr