Commit | Line | Data |
---|---|---|
aba8c3de WN |
1 | .syntax unified |
2 | .arch armv6t2 | |
3 | ||
4 | .global appfunc1 | |
5 | .type appfunc1,%gnu_indirect_function | |
6 | .thumb | |
7 | appfunc1: | |
8 | mov pc,lr | |
9 | .size appfunc1,.-appfunc1 | |
10 | ||
11 | .global appfunc2 | |
12 | .type appfunc2,%gnu_indirect_function | |
13 | .thumb | |
14 | appfunc2: | |
15 | mov pc,lr | |
16 | .size appfunc2,.-appfunc2 | |
17 | ||
18 | .global _start | |
19 | .type _start,%function | |
20 | .thumb | |
21 | _start: | |
22 | bl appfunc1(PLT) | |
23 | .word appfunc2(GOT) | |
24 | .size _start,.-_start |