From dc87148473bc407d91ab8b4a6e69f7eade79bfa0 Mon Sep 17 00:00:00 2001 From: Richard Xia Date: Mon, 30 Oct 2017 12:18:49 -0700 Subject: Declare trap handlers as global symbols. (#87) This allows them to be referenced by other files, such as a test environment that lives in a separate compilation unit. --- isa/rv64mi/illegal.S | 1 + 1 file changed, 1 insertion(+) (limited to 'isa/rv64mi/illegal.S') diff --git a/isa/rv64mi/illegal.S b/isa/rv64mi/illegal.S index a1b445f..3bb7961 100644 --- a/isa/rv64mi/illegal.S +++ b/isa/rv64mi/illegal.S @@ -106,6 +106,7 @@ bad9: TEST_PASSFAIL .align 8 + .global mtvec_handler mtvec_handler: j synchronous_exception j msip -- cgit v1.1