* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-m68k / tls-ld-2.s
blobb1c447f82c8bbebd75bf64db7054f206bfc5b4b9
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 move.l %d0,%a1
13 add.l x@TLSLDO,%a1
15 move.l (%sp)+,%a5
16 unlk %fp
17 rts
18 .size foo, .-foo
19 .section .note.GNU-stack,"",@progbits