diff options
author | Richard Xia <richardxia@richardxia.com> | 2017-10-30 12:18:49 -0700 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2017-10-30 12:18:49 -0700 |
commit | dc87148473bc407d91ab8b4a6e69f7eade79bfa0 (patch) | |
tree | e4ca30bc50eff28ffcda085454c336068a3b5b96 /isa/rv64mi/illegal.S | |
parent | 7b4922e130bb520f9328dca77cf7330df96ce2f9 (diff) | |
download | riscv-tests-dc87148473bc407d91ab8b4a6e69f7eade79bfa0.zip riscv-tests-dc87148473bc407d91ab8b4a6e69f7eade79bfa0.tar.gz riscv-tests-dc87148473bc407d91ab8b4a6e69f7eade79bfa0.tar.bz2 |
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.
Diffstat (limited to 'isa/rv64mi/illegal.S')
-rw-r--r-- | isa/rv64mi/illegal.S | 1 |
1 files changed, 1 insertions, 0 deletions
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 |