1#NO_APP 2 .text 3 .align 2 4 .globl foo 5 .type foo, @function 6foo: 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 x3@TLSLDM(%a5) 13 jbsr __tls_get_addr 14 move.l %d0,%a1 15 add.l x4@TLSLDO,%a1 16 17 move.l (%sp)+,%a5 18 unlk %fp 19 rts 20 .size foo, .-foo 21 .section .note.GNU-stack,"",@progbits 22