Commit | Line | Data |
---|---|---|
133d72e9 NC |
1 | @ Test to ensure that a ARM to ARM call exceeding 32Mb generates an error |
2 | @ if the destination is of type STT_SECTION (eg non-global symbol) | |
3 | ||
4 | .global _start | |
5 | .syntax unified | |
6 | ||
7 | @ We will place the section .text at 0x1000. | |
8 | ||
9 | .text | |
10 | ||
11 | _start: | |
12 | bl bar | |
13 | ||
14 | @ We will place the section .foo at 0x2001020. | |
15 | ||
16 | .section .foo, "xa" | |
17 | ||
18 | bar: | |
19 | bx lr | |
20 |