Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/gas/testsuite/gas/mips/branch-misc-4.s
2023-03-06 14:48:14 +01:00

28 lines
437 B
ArmAsm

# Source file to verify PC-relative relocations do not overflow.
.text
.space 0x40000
.globl foo
.ent foo
foo:
b bar
.Lfoo:
b .Lbar
.end foo
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8
.section .init, "ax", @progbits
.globl bar
.ent bar
bar:
b foo
.Lbar:
b .Lfoo
.end bar
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8