Commit | Line | Data |
---|---|---|
a06ea964 NC |
1 | .global _start |
2 | .global bar | |
3 | ||
4 | # We will place the section .text at 0x1000. | |
5 | ||
6 | .text | |
7 | ||
8 | _start: | |
9 | bl bar | |
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 |