* 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:
Christopher Faylor 2000-07-01 04:26:45 +00:00
parent 8c6b7d8a15
commit 72f8054fad
5 changed files with 14 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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 ();
}

View File

@ -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*);