diff options
Diffstat (limited to 'libc/syscall/syslib0.c')
-rw-r--r-- | libc/syscall/syslib0.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/syscall/syslib0.c b/libc/syscall/syslib0.c index 1a92179..24fdbf0 100644 --- a/libc/syscall/syslib0.c +++ b/libc/syscall/syslib0.c @@ -22,7 +22,7 @@ char ** environ; #asm loc 2 call_main: - .word _main ! Segment 2 is the trailing pointers, main and the + .word run_main ! Segment 2 is the trailing pointers, main and the .word call_exit ! routine to call exit. #if __FIRST_ARG_IN_AX__ .data @@ -71,6 +71,9 @@ no_entry: inc bx jmp auto_run ! And round for the next. +run_main: + br _main + call_exit: ! Last item called by above. pop bx ! Be tidy. #if !__FIRST_ARG_IN_AX__ |