projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Declare trap handlers as global symbols. (#87)
[riscv-tests.git]
/
isa
/
rv64si
/
scall.S
diff --git
a/isa/rv64si/scall.S
b/isa/rv64si/scall.S
index 82ba7c0cbc81619d46a9cf8ff4f555509047cfc4..cb97635bab7a70b8d26472bd72661858801a8768 100644
(file)
--- a/
isa/rv64si/scall.S
+++ b/
isa/rv64si/scall.S
@@
-40,6
+40,7
@@
RVTEST_CODE_BEGIN
TEST_PASSFAIL
.align 2
+ .global stvec_handler
stvec_handler:
li t1, CAUSE_USER_ECALL
csrr t0, scause