summaryrefslogtreecommitdiff
path: root/bsp/env
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2016-12-21 11:09:10 -0800
committerAndrew Waterman <andrew@sifive.com>2017-01-03 18:02:42 -0800
commitb1f048f991e7d743e46be9c48c73d00a843f400c (patch)
tree13ff34eb3d1a7244a2f121a547f7f831f75037a2 /bsp/env
parent0f7bac0247ae4bbb6b4e51c72d4d5a25560ae2fe (diff)
Keep mtvec 4-byte aligned
Diffstat (limited to 'bsp/env')
-rw-r--r--bsp/env/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsp/env/entry.S b/bsp/env/entry.S
index b433628..1f5de24 100644
--- a/bsp/env/entry.S
+++ b/bsp/env/entry.S
@@ -7,6 +7,7 @@
#include "sifive/bits.h"
.section .text.entry
+ .align 2
.global trap_entry
trap_entry:
addi sp, sp, -32*REGBYTES