Commit | Line | Data |
---|---|---|
2f340668 JW |
1 | .global _start |
2 | ||
3 | # We will place the section .text at 0x1000. | |
4 | ||
5 | .text | |
6 | ||
7 | _start: | |
8 | bl bar | |
9 | bl bar2 | |
10 | ret | |
11 | ||
12 | # We will place the section .foo at 0x8001000. | |
13 | ||
14 | .section .foo, "xa" | |
15 | .type bar, @function | |
16 | bar: | |
17 | ret | |
18 | .type bar2, @function | |
19 | bar2: | |
20 | ret |