Commit | Line | Data |
---|---|---|
b43420e6 NC |
1 | .code 16 |
2 | .text | |
3 | .Ltext0: | |
4 | .section .text.foo,"ax",%progbits | |
5 | .align 2 | |
6 | .global foo | |
7 | .code 16 | |
8 | .thumb_func | |
9 | .type foo, %function | |
10 | foo: | |
11 | .fnstart | |
12 | ldr r3, .L3 | |
13 | .LPIC0: | |
14 | add r3, pc | |
15 | ldr r3, [r3] | |
16 | ldr r2, [r3] | |
17 | str r0, [r3] | |
18 | mov r0, r2 | |
19 | bx lr | |
20 | .align 2 | |
21 | .L3: | |
22 | .word i(GOT_PREL) + (. - (.LPIC0+4)) | |
23 | .fnend |