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

38 lines
413 B
ArmAsm

.text
.set noreorder
.org 0x2000
.align 4
.globl foo
.ent foo
foo:
jal abar - 8
nor $0, $0
.globl afoo
.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
.globl abar
.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