Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git] / ld / testsuite / ld-m68k / tls-le-1.s
blobb1e9c13ea37f626addf0bf2d0a336a0cfa872bf9
1 #NO_APP
2 .text
3 .align 2
4 .globl foo
5 .type foo, @function
6 foo:
7 link.w %fp,#0
8 move.l %a5,-(%sp)
9 move.l #_GLOBAL_OFFSET_TABLE_@GOTPC, %a5
10 lea (-6, %pc, %a5), %a5
12 jbsr __m68k_read_tp
13 move.l x@TLSLE(%a5),%a1
14 add.l %a0,%a1
16 move.l (%sp)+,%a5
17 unlk %fp
18 rts
19 .size foo, .-foo
20 .section .note.GNU-stack,"",@progbits