* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-m68k / tls-main-1.s
blob75fb6d6c4a646ebf8b592e69e7a5e04514e6a540
1 #NO_APP
2 .text
3 .align 2
4 .globl main
5 .type main, @function
6 .globl _start
7 .type _start, @function
8 main:
9 _start:
10 link.w %fp,#0
11 move.l %a5,-(%sp)
12 move.l #_GLOBAL_OFFSET_TABLE_@GOTPC, %a5
13 lea (-6, %pc, %a5), %a5
14 move.l x@TLSIE(%a5),%a0
15 move.l -4(%fp),%a5
16 unlk %fp
17 rts
18 .size main, .-main
19 .section .note.GNU-stack,"",@progbits