Usermode/ld-acess - Fixed bug in x86 main entrypoint
authorJohn Hodge <[email protected]>
Sun, 20 Nov 2011 07:19:21 +0000 (15:19 +0800)
committerJohn Hodge <[email protected]>
Sun, 20 Nov 2011 07:19:21 +0000 (15:19 +0800)
Usermode/Libraries/ld-acess.so_src/arch/x86.asm.h

index 2d2c36a..1f5ba1f 100644 (file)
@@ -15,7 +15,8 @@ _errno:       dw      0
 _start:
        call SoMain
        add esp, 4      ; // Base address
-       jmp eax
+       call eax
+       call _exit
 
 ; DEST
 ; SRC

UCC git Repository :: git.ucc.asn.au