diff options
author | Andrew Waterman <andrew@sifive.com> | 2019-01-04 11:28:52 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2019-01-04 11:28:52 -0800 |
commit | 6f31769d091bbd2ef504308633fbe8a870641894 (patch) | |
tree | 1f45401db4697c29c2ab5bc174ea688ccacb9c66 /v | |
parent | 4c356d46aace73c1562816a41e0f63948bdb0497 (diff) | |
download | env-6f31769d091bbd2ef504308633fbe8a870641894.zip env-6f31769d091bbd2ef504308633fbe8a870641894.tar.gz env-6f31769d091bbd2ef504308633fbe8a870641894.tar.bz2 |
Align entry points for RVC compilation
Diffstat (limited to 'v')
-rw-r--r-- | v/entry.S | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,13 +14,16 @@ .section ".text.init","ax",@progbits .globl _start + .align 2 _start: j handle_reset /* NMI vector */ + .align 2 nmi_vector: j wtf + .align 2 trap_vector: j wtf @@ -74,6 +77,7 @@ pop_tf: sret .global trap_entry + .align 2 trap_entry: csrrw sp, sscratch, sp |