Commit | Line | Data |
---|---|---|
2e73b915 DJ |
1 | .text |
2 | ||
3 | .globl lib_func1 | |
4 | .type lib_func1, %function | |
5 | lib_func1: | |
6 | mov ip, sp | |
7 | stmdb sp!, {r11, ip, lr, pc} | |
8 | bl app_func2 | |
9 | ldmia sp, {r11, sp, lr} | |
10 | bx lr | |
11 | .size lib_func1, . - lib_func1 | |
12 | ||
13 | .globl lib_func2 | |
14 | .type lib_func2, %function | |
15 | lib_func2: | |
16 | bx lr | |
17 | .size lib_func2, . - lib_func2 | |
18 | ||
19 | .data | |
20 | .globl data_obj | |
21 | .type data_obj, %object | |
22 | data_obj: | |
23 | .long 0 | |
24 | .size data_obj, . - data_obj |