X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Fld-acess.so_src%2Farch%2Fx86.asm.h;h=a569637df8c0277375bc7dcdc2ff75e8bcccf3a6;hb=9867382061f9035d65e118d95fa819c0e615f353;hp=282ff40ea4802ff94adae18577ed5fb61853cb09;hpb=3d6a345b39afa454f0f33fc8d48b96229971e6ed;p=tpg%2Facess2.git 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 282ff40e..a569637d 100644 --- a/Usermode/Libraries/ld-acess.so_src/arch/x86.asm.h +++ b/Usermode/Libraries/ld-acess.so_src/arch/x86.asm.h @@ -6,9 +6,21 @@ [bits 32] [section .data] +[global _errno:data 4] _errno: dw 0 [section .text] +[global _start] +[extern SoMain] +_start: + call SoMain + + add esp, 4 + call eax + + push eax + call _exit + ; DEST ; SRC _memcpy: