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
/
dirty.S
diff --git
a/isa/rv64si/dirty.S
b/isa/rv64si/dirty.S
index 783522c1ed76ba7a3ce32fe408aa86891d5e1e2c..fa1581fa00482f55e69327b024e546a8c09426ee 100644
(file)
--- a/
isa/rv64si/dirty.S
+++ b/
isa/rv64si/dirty.S
@@
-74,6
+74,7
@@
RVTEST_CODE_BEGIN
TEST_PASSFAIL
.align 2
+ .global mtvec_handler
mtvec_handler:
csrr t0, mcause
add t0, t0, -CAUSE_STORE_PAGE_FAULT