Commit | Line | Data |
---|---|---|
2468f9c9 PB |
1 | .syntax unified |
2 | .text | |
3 | @ section without unwind info | |
4 | .global _start | |
5 | .type _start, %function | |
6 | _start: | |
7 | bl _before | |
8 | ||
9 | @ Section that will be placed first | |
10 | .section .before, "xa" | |
11 | .type _before, %function | |
12 | _before: | |
13 | .fnstart | |
14 | .save {r4, lr} | |
15 | bx lr | |
16 | .fnend | |
17 | ||
18 | @ section that will be placed last | |
19 | .section .after, "xa" | |
20 | .global __aeabi_unwind_cpp_pr0 | |
21 | .type __aeabi_unwind_cpp_pr0, %function | |
22 | __aeabi_unwind_cpp_pr0: | |
23 | .fnstart | |
24 | .save {r4, lr} | |
25 | bx lr | |
26 | .fnend | |
27 | ||
28 | .section .far | |
29 | .word 0 |