X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=ld%2Ftestsuite%2Fld-m68k%2Ftls-main-1.s;fp=ld%2Ftestsuite%2Fld-m68k%2Ftls-main-1.s;h=75fb6d6c4a646ebf8b592e69e7a5e04514e6a540;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hp=0000000000000000000000000000000000000000;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b;p=msp430-binutils.git diff --git a/ld/testsuite/ld-m68k/tls-main-1.s b/ld/testsuite/ld-m68k/tls-main-1.s new file mode 100644 index 0000000..75fb6d6 --- /dev/null +++ b/ld/testsuite/ld-m68k/tls-main-1.s @@ -0,0 +1,19 @@ +#NO_APP + .text + .align 2 + .globl main + .type main, @function + .globl _start + .type _start, @function +main: +_start: + link.w %fp,#0 + move.l %a5,-(%sp) + move.l #_GLOBAL_OFFSET_TABLE_@GOTPC, %a5 + lea (-6, %pc, %a5), %a5 + move.l x@TLSIE(%a5),%a0 + move.l -4(%fp),%a5 + unlk %fp + rts + .size main, .-main + .section .note.GNU-stack,"",@progbits