Commit | Line | Data |
---|---|---|
1 | # Source file to verify PC-relative relocations do not overflow. | |
2 | ||
3 | .text | |
4 | .space 0x40000 | |
5 | .globl foo | |
6 | .ent foo | |
7 | foo: | |
8 | b bar | |
9 | .Lfoo: | |
10 | b .Lbar | |
11 | .end foo | |
12 | ||
13 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... | |
14 | .align 2 | |
15 | .space 8 | |
16 | ||
17 | .section .init, "ax", @progbits | |
18 | .globl bar | |
19 | .ent bar | |
20 | bar: | |
21 | b foo | |
22 | .Lbar: | |
23 | b .Lfoo | |
24 | .end bar | |
25 | ||
26 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... | |
27 | .align 2 | |
28 | .space 8 |