Commit | Line | Data |
---|---|---|
36591ba1 SL |
1 | # relaxing unconditional jumps |
2 | ||
3 | .globl text1 | |
4 | .section text1, "ax", @progbits | |
5 | ||
6 | br on_border | |
7 | br out_of_range | |
8 | nop | |
9 | nop | |
10 | ||
11 | ||
12 | .align 15 | |
13 | # nop | |
14 | # nop | |
15 | on_border: | |
16 | br in_range | |
17 | nop | |
18 | nop | |
19 | nop | |
20 | out_of_range: | |
21 | in_range: | |
22 | nop | |
23 | ||
24 | .globl text2 | |
25 | .section text2, "ax", @progbits | |
26 | ||
27 | br text1 | |
28 | br out_of_range | |
29 | br sym | |
30 | nop | |
31 | nop | |
32 | sym: | |
33 | nop | |
34 | ||
35 | ||
36 | ||
37 |