diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-06-09 18:50:12 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-06-09 18:50:45 -0700 |
commit | 33a52ac745ea72dd3732859e6a6f1ec16a3bc3c8 (patch) | |
tree | 617629820312d03681b0daa7f3354793bc358431 | |
parent | 6dc543556d5aa7aae7ba2f258b69c25f83079e1f (diff) |
Don't call _{init,fini} in start.S, we call libc_{init,fini}_arry
-rw-r--r-- | bsp/env/start.S | 5 |
1 files changed, 3 insertions, 2 deletions
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 |