Mercurial > pub > dyncall > dyncall
diff dyncall/dyncall_call_x86_generic_masm.asm @ 341:ab2d78e48ca2
- gen-masm
. fallback on clang if gcc not available
. consolidated use of redundant scripts
. regen of portasm based masm files
- minor symbol name changes for clarity/consistency
author | Tassilo Philipp |
---|---|
date | Sat, 04 Jan 2020 23:00:02 +0100 |
parents | 3e629dc19168 |
children |
line wrap: on
line diff
--- a/dyncall/dyncall_call_x86_generic_masm.asm Sat Jan 04 22:48:51 2020 +0100 +++ b/dyncall/dyncall_call_x86_generic_masm.asm Sat Jan 04 23:00:02 2020 +0100 @@ -2,7 +2,6 @@ .386 .MODEL FLAT .CODE - _dcCall_x86_cdecl PROC OPTION PROLOGUE:NONE, EPILOGUE:NONE push EBP @@ -89,10 +88,10 @@ pop EBP ret _dcCall_x86_win32_fast ENDP -_dcCall_x86_sys_int80h_linux PROC +_dcCall_x86_syscall_int80h_linux PROC OPTION PROLOGUE:NONE, EPILOGUE:NONE push EBP - mov EBP,ESP + mov EBP,ESP push EBX push ESI push EDI @@ -110,11 +109,11 @@ mov ESP,EBP pop EBP ret -_dcCall_x86_sys_int80h_linux ENDP -_dcCall_x86_sys_int80h_bsd PROC +_dcCall_x86_syscall_int80h_linux ENDP +_dcCall_x86_syscall_int80h_bsd PROC OPTION PROLOGUE:NONE, EPILOGUE:NONE push EBP - mov EBP,ESP + mov EBP,ESP push ESI push EDI mov ESI,dword ptr [EBP+12] @@ -132,5 +131,5 @@ _do_int: int 80h ret -_dcCall_x86_sys_int80h_bsd ENDP +_dcCall_x86_syscall_int80h_bsd ENDP END