summaryrefslogtreecommitdiff
path: root/bsp/env/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/env/start.S')
-rw-r--r--bsp/env/start.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsp/env/start.S b/bsp/env/start.S
index b526411..9ec6c1c 100644
--- a/bsp/env/start.S
+++ b/bsp/env/start.S
@@ -1,5 +1,7 @@
// See LICENSE for license details.
+// See LICENSE for license details.
+
.section .init
.globl _start
.type _start,@function
@@ -50,5 +52,7 @@ _start:
/* argc = argv = 0 */
li a0, 0
li a1, 0
+ call _init
call main
+ call _fini
tail exit