projects
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
RISC-V: Allow pcrel_lo addends, error on addend overflow.
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-riscv-elf
/
pcrel-lo-addend-2.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+4)(a5)
9
ret
10
.globl ll
11
.data
12
.align 3
13
.zero 2024
14
ll:
15
.word 0
16
.word 0