From 33a52ac745ea72dd3732859e6a6f1ec16a3bc3c8 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Fri, 9 Jun 2017 18:50:12 -0700 Subject: Don't call _{init,fini} in start.S, we call libc_{init,fini}_arry --- bsp/env/start.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bsp/env') diff --git a/bsp/env/start.S b/bsp/env/start.S index 9ec6c1c..5e0e3f1 100644 --- a/bsp/env/start.S +++ b/bsp/env/start.S @@ -52,7 +52,8 @@ _start: /* argc = argv = 0 */ li a0, 0 li a1, 0 - call _init call main - call _fini tail exit + +1: + j 1b -- cgit v1.2.3