Retro68/binutils/ld/testsuite/ld-mips-elf/jal-local-overflow.s
2017-04-10 13:32:00 +02:00

36 lines
387 B
ArmAsm

.text
.set noreorder
.org 0x2000
.align 4
.globl foo
.ent foo
foo:
jal abar - 8
nor $0, $0
.aent afoo
afoo:
jal afoo - 8
nor $0, $0
.end foo
.org 0x4000
.align 4
.globl bar
.ent bar
bar:
jal afoo - 8
nor $0, $0
.aent abar
abar:
jal abar - 8
nor $0, $0
.end bar
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16