projects
/
releases.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
GNU Linux-libre 6.7.9-gnu
[releases.git]
/
arch
/
riscv
/
kernel
/
tests
/
module_test
/
test_sub8.S
1
/* SPDX-License-Identifier: GPL-2.0 */
2
/*
3
* Copyright (C) 2023 Rivos Inc.
4
*/
5
6
.text
7
.global test_sub8
8
test_sub8:
9
lb a0, sub8
10
addi a0, a0, -32
11
ret
12
first:
13
.space 32
14
second:
15
16
.data
17
sub8:
18
.reloc sub8, R_RISCV_ADD8, second
19
.reloc sub8, R_RISCV_SUB8, first
20
.byte 0