projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
RISC-V: The object without priv spec attributes can be linked with any object.
[deliverable/binutils-gdb.git]
/
ld
/
testsuite
/
ld-nios2
/
s16.s
1
# Test for Nios II 32-bit, 16 and 8-bit relocations
2
3
.set noat
4
.set some_other_sym, 0x1000
5
.text
6
.global _start
7
_start:
8
# signed 16-bit relocation
9
addi r1, r1, some_sym
10
addi r1, r1, min
11
addi r1, r1, max
12
addi r1, r1, some_sym + some_other_sym + 1
13
addi r1, r1, some_sym - some_other_sym + 1
14
15
16
This page took
0.036158 seconds
and
4
git commands to generate.