Commit | Line | Data |
---|---|---|
cd6eab1c ILT |
1 | @ Test to ensure that a Thumb to Thumb call exceeding 4Mb generates a stub. |
2 | ||
3 | .global _start | |
4 | .syntax unified | |
5 | ||
6 | @ We will place the section .text at 0x1000. | |
7 | ||
8 | .text | |
9 | .thumb_func | |
10 | _start: | |
11 | bl bar | |
12 | ||
13 | @ We will place the section .foo at 0x02001014. | |
14 | ||
15 | .section .foo, "xa" | |
16 | .thumb_func | |
17 | bar: | |
18 | bx lr | |
19 |