Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s

17 lines
203 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.text
.globl _start
.align 3
_start:
nop
.LA0: auipc a5,%pcrel_hi(ll)
lw a0,%pcrel_lo(.LA0)(a5)
lw a0,%pcrel_lo(.LA0+0x1000)(a5)
ret
.globl ll
.data
.align 3
.zero 2024
ll:
.word 0
.word 0