Revert "breakpoint.S: Don't assume trigger is hardwired to breakpoint (#158) (#159)"
[riscv-tests.git] / isa / rv64mi / breakpoint.S
index ba683cc6608e6d3b8bd28bfd6b3700d59d1861bf..647430b8daa5865b836cd8caf255b8f63b58a004 100644 (file)
@@ -115,6 +115,8 @@ RVTEST_CODE_BEGIN
 2:
   TEST_PASSFAIL
 
+  .align 2
+  .global mtvec_handler
 mtvec_handler:
   # Only even-numbered tests should trap.
   andi t0, TESTNUM, 1