1
// DLL Startup code for WIN32 port of Free Pascal
2
// Written by P.Ozerski 16.10.1998
6
movb $1,U_SYSTEM_ISCONSOLE
8
.globl _WinMainCRTStartup
10
movb $0,U_SYSTEM_ISCONSOLE
18
movl %edi,U_SYSTEM_HINSTANCE
20
movl %edi,U_SYSTEM_DLLREASON
22
movl %edi,U_SYSTEM_DLLPARAM
67
.ascii "ExitProcess\000"
72
.ascii "kernel32.dll\000"
76
// $Log: wdllprt0.as,v $
77
// Revision 1.4 2002/12/04 21:36:44 carl
78
// * libraries would no longer compile because of my profiling fix
80
// Revision 1.3 2002/07/28 20:43:51 florian
81
// * several fixes for linux/powerpc
82
// * several fixes to MT
1
// DLL Startup code for WIN32 port of Free Pascal
2
// Written by P.Ozerski 16.10.1998
6
movb $1,U_SYSTEM_ISCONSOLE
8
.globl _WinMainCRTStartup
10
movb $0,U_SYSTEM_ISCONSOLE
20
movl %edi,U_SYSTEM_DLLREASON
22
movl %edi,U_SYSTEM_DLLPARAM
68
.ascii "ExitProcess\000"
73
.ascii "kernel32.dll\000"