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