Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-mips-elf/jal-local-overflow.s
2023-03-06 14:48:14 +01:00

35 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