aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/jalbal.s
blob: 4273b9fe2229026c452df7cc1399ec6631c600e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Test that jal gets converted to bal on the RM9000 when it is in range.
	.text
	.global	s1
	.type	s1,@function
	.set	noreorder
s1:
	jal	s3
	nop
	jal	s3
s2:
	nop
	.space	0x1fff8
s3:
	jal	s2
	nop
	jal	s2
	nop
	nop