Usermode/ld-acess - Adding elf64 support
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / arch / x86.asm.h
index 9e45273..a569637 100644 (file)
 _errno:        dw      0
 
 [section .text]
+[global _start]
+[extern SoMain]
+_start:
+       call SoMain
+
+       add esp, 4
+       call eax
+
+       push eax
+       call _exit
+
 ; DEST
 ; SRC
 _memcpy:

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