]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s
RISC-V: Check the overflow for %pcrel_lo addend more strictly.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-riscv-elf / pcrel-lo-addend-2a.s
1 .text
2 .globl _start
3 .align 3
4 _start:
5 nop
6 .LA0: auipc a5,%pcrel_hi(ll)
7 lw a0,%pcrel_lo(.LA0)(a5)
8 lw a0,%pcrel_lo(.LA0+0x4)(a5)
9 ret
10 .globl ll
11 .data
12 .align 3
13 .zero 2024
14 ll:
15 .word 0
16 .word 0