]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-m68k/tls-gd-2.s
* configure.ac: Move comment to remove extra space in last argument
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-m68k / tls-gd-2.s
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
11
12 pea x@TLSGD(%a5)
13 jbsr __tls_get_addr
14
15 move.l %a5,%a0
16 add.l x@TLSGD,%a0
17 pea (%a0)
18 jbsr __tls_get_addr
19
20 move.l (%sp)+,%a5
21 unlk %fp
22 rts
23 .size foo, .-foo
24 .section .note.GNU-stack,"",@progbits