Add __start as ucore mipsel entry point

Signed-off-by: Harry Chen <i@harrychen.xyz>
master
Harry Chen 6 years ago
parent 42c0f22ed3
commit 67890aeb42

@ -1,8 +1,12 @@
#include <regdef.h>
.text
.globl _start
.globl __start
.global _start
# seems different toolchains look for different entry points
_start:
__start:
# call user-program function
lw a0, 0(sp)
addiu a1, sp, 8

Loading…
Cancel
Save