* dcrt0.cc (_dll_crt0): Renamed from dll_crt0 ().
* winsup.h: Accomodate above change. * cygwin.din: Ditto. * lib/cygwin_crt0.c: Ditto.
This commit is contained in:
parent
8c6b7d8a15
commit
72f8054fad
|
@ -1,3 +1,10 @@
|
|||
Sat Jul 1 00:24:04 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* dcrt0.cc (_dll_crt0): Renamed from dll_crt0 ().
|
||||
* winsup.h: Accomodate above change.
|
||||
* cygwin.din: Ditto.
|
||||
* lib/cygwin_crt0.c: Ditto.
|
||||
|
||||
Fri Jun 30 23:21:40 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* Makefile.in: Use variables rather than configure constructs where
|
||||
|
|
|
@ -124,7 +124,7 @@ difftime
|
|||
_difftime = difftime
|
||||
div
|
||||
_div = div
|
||||
dll_crt0@0
|
||||
_dll_crt0@0
|
||||
dll_crt0__FP11per_process
|
||||
cygwin_dll_init
|
||||
dll_dllcrt0
|
||||
|
|
|
@ -780,8 +780,8 @@ dll_crt0_1 ()
|
|||
UPTR is a pointer to global data that lives on the libc side of the
|
||||
line [if one distinguishes the application from the dll]. */
|
||||
|
||||
void __stdcall
|
||||
dll_crt0 ()
|
||||
extern "C" void __stdcall
|
||||
_dll_crt0 ()
|
||||
{
|
||||
char zeros[sizeof (ciresrv->zero)] = {0};
|
||||
|
||||
|
@ -864,7 +864,7 @@ dll_crt0 (per_process *uptr)
|
|||
/* Set the local copy of the pointer into the user space. */
|
||||
if (uptr)
|
||||
*user_data = *uptr;
|
||||
dll_crt0 ();
|
||||
_dll_crt0 ();
|
||||
}
|
||||
|
||||
extern "C" void *export_malloc (unsigned int);
|
||||
|
|
|
@ -11,7 +11,7 @@ details. */
|
|||
#include <windows.h>
|
||||
#include "crt0.h"
|
||||
|
||||
extern void __stdcall dll_crt0 (void) __declspec (dllimport);
|
||||
extern void __stdcall _dll_crt0 (void) __declspec (dllimport) __attribute ((noreturn));
|
||||
|
||||
/* for main module */
|
||||
void
|
||||
|
@ -20,5 +20,5 @@ cygwin_crt0 (MainFunc f)
|
|||
_cygwin_crt0_common (f);
|
||||
|
||||
/* Jump into the dll. */
|
||||
dll_crt0 ();
|
||||
_dll_crt0 ();
|
||||
}
|
||||
|
|
|
@ -272,7 +272,7 @@ extern unsigned int signal_shift_subtract;
|
|||
|
||||
/* cygwin .dll initialization */
|
||||
void dll_crt0 (per_process *);
|
||||
void __stdcall dll_crt0 () __asm__ ("dll_crt0");
|
||||
extern "C" void __stdcall _dll_crt0 () __asm__ ("dll_crt0");
|
||||
|
||||
/* dynamically loaded dll initialization */
|
||||
extern "C" int dll_dllcrt0 (HMODULE, per_process*);
|
||||
|
|
Loading…
Reference in New Issue