Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-mips-elf/pic-reloc-lui.s
2023-03-06 14:48:14 +01:00

13 lines
215 B
ArmAsm

.text
.globl foo
.ent foo
foo:
lui $2, %hi(bar)
addiu $2, %lo(bar)
lui $2, %hi(bar)
addiu $2, %lo(bar)
.end foo
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16