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
/
sbreak.S
diff --git
a/isa/rv64si/sbreak.S
b/isa/rv64si/sbreak.S
index c2a6e49ef70a76db72f99db3b66f1dac89c5d134..d5a2de7a0852ed52ad1c89ccdd115af17040569a 100644
(file)
--- a/
isa/rv64si/sbreak.S
+++ b/
isa/rv64si/sbreak.S
@@
-30,6
+30,7
@@
RVTEST_CODE_BEGIN
TEST_PASSFAIL
.align 2
+ .global stvec_handler
stvec_handler:
li t1, CAUSE_BREAKPOINT
csrr t0, scause