Fix linker tests to work with 16-bit targets.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-m68k / got-1.s
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
This page took 0.041209 seconds and 4 git commands to generate.