binutils-gdb/ld/testsuite/ld-mips-elf/jalbal.s
Ian Lance Taylor 3a6eb9c0d7 * ld-mips-elf/jalbal.d: New test.
* ld-mips-elf/jalbal.s: New test.
	* ld-mips-elf/mips-elf.exp: Run it.
2004-12-09 07:14:53 +00:00

19 lines
213 B
ArmAsm

# 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