Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git] / ld / testsuite / ld-m68k / tls-ld-1.s
blob47bc6e19e1af18b3806e62f34913b0256d1318cb
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 pea x3@TLSLDM(%a5)
13 jbsr __tls_get_addr
14 move.l %d0,%a1
15 add.l x4@TLSLDO,%a1
17 move.l (%sp)+,%a5
18 unlk %fp
19 rts
20 .size foo, .-foo
21 .section .note.GNU-stack,"",@progbits