summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p/riscv_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/p/riscv_test.h b/p/riscv_test.h
index 3d4637a..d5320a8 100644
--- a/p/riscv_test.h
+++ b/p/riscv_test.h
@@ -246,6 +246,7 @@ reset_vector: \
csrw mepc, t0; \
csrr a0, mhartid; \
mret; \
+ .section .text; \
1:
//-----------------------------------------------------------------------