aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nios2/relax_section.s
blob: 0e803d115a65b301e99633b5f40d0524c6173248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# relaxing conditional and unconditional jumps -- pc-relative

.globl text1
.section text1, "ax", @progbits
	beq r2, r3, just_out_of_range
	blt r2, r3, farther_out_of_range
	bne r2, r3, in_range
	nop
	nop
in_range:
	nop
.align 15
	br in_range
just_out_of_range:
	nop
	nop
	nop
	nop
	nop
	nop
	nop
farther_out_of_range:
	nop