Retro68/binutils/ld/testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

17 lines
203 B
ArmAsm

.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