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
/
rv64mi
/
ma_addr.S
diff --git
a/isa/rv64mi/ma_addr.S
b/isa/rv64mi/ma_addr.S
index 1e5ab6888bd889357dc733306c5d8d9e3a0573c9..2f4d96dea9dfcbd321d8e2fa7687e21084655119 100644
(file)
--- a/
isa/rv64mi/ma_addr.S
+++ b/
isa/rv64mi/ma_addr.S
@@
-92,6
+92,7
@@
RVTEST_CODE_BEGIN
TEST_PASSFAIL
.align 3
+ .global mtvec_handler
mtvec_handler:
csrr t0, mcause
bne t0, s1, fail