Commit | Line | Data |
---|---|---|
07f9ddfe JW |
1 | .global _start |
2 | .global bar_gsym | |
3 | ||
4 | # We will place the section .text at 0x1000. | |
5 | ||
6 | .text | |
7 | ||
8 | _start: | |
9 | # for long jump (JUMP26) to global symbol, we shouldn't insert veneer | |
10 | # as the veneer will clobber IP0/IP1 which is caller saved, gcc only | |
11 | # reserve them for function call relocation (CALL26). | |
12 | b bar_gsym | |
13 | # ((1 << 25) - 1) << 2 | |
14 | .skip 134217724, 0 | |
15 | bar_gsym: | |
16 | nop | |
17 | ret |