From: John Hodge Date: Wed, 19 Oct 2011 04:22:58 +0000 (+0800) Subject: Usermode/ld-acess - Fixed crash when arguments are passed to user apps X-Git-Tag: rel0.13~35 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=0162285103aa3ee5eecc3762105cc1145b7e81da;p=tpg%2Facess2.git Usermode/ld-acess - Fixed crash when arguments are passed to user apps --- diff --git a/Usermode/Libraries/ld-acess.so_src/arch/x86.asm.h b/Usermode/Libraries/ld-acess.so_src/arch/x86.asm.h index 4de25277..2d2c36a1 100644 --- a/Usermode/Libraries/ld-acess.so_src/arch/x86.asm.h +++ b/Usermode/Libraries/ld-acess.so_src/arch/x86.asm.h @@ -14,12 +14,8 @@ _errno: dw 0 [extern SoMain] _start: call SoMain - - add esp, 4 - call eax - - push eax - call _exit + add esp, 4 ; // Base address + jmp eax ; DEST ; SRC