Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-nios2/relax_ujmp.s
2023-03-06 14:48:14 +01:00

37 lines
320 B
ArmAsm

# relaxing unconditional jumps
.globl text1
.section text1, "ax", @progbits
br on_border
br out_of_range
nop
nop
.align 15
# nop
# nop
on_border:
br in_range
nop
nop
nop
out_of_range:
in_range:
nop
.globl text2
.section text2, "ax", @progbits
br text1
br out_of_range
br sym
nop
nop
sym:
nop