* crt0.cc: Remove PPC considerations.
(WinMainCRTStartup): Add symbol as alias to mainCRTStartup.
This commit is contained in:
parent
6a33f745c0
commit
9a7b0aad2a
@ -1,3 +1,8 @@
|
|||||||
|
2005-09-29 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* crt0.cc: Remove PPC considerations.
|
||||||
|
(WinMainCRTStartup): Add symbol as alias to mainCRTStartup.
|
||||||
|
|
||||||
2005-09-28 Christopher Faylor <cgf@timesys.com>
|
2005-09-28 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
Change name from commune_recv to commune_process throughout.
|
Change name from commune_recv to commune_process throughout.
|
||||||
|
@ -1,19 +1,11 @@
|
|||||||
/* crt0.c.
|
/* crt0.c.
|
||||||
|
|
||||||
Copyright 2001 Red Hat, Inc.
|
Copyright 2001, 2005 Red Hat, Inc.
|
||||||
|
|
||||||
This software is a copyrighted work licensed under the terms of the
|
This software is a copyrighted work licensed under the terms of the
|
||||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||||
details. */
|
details. */
|
||||||
|
|
||||||
#ifdef __PPC__
|
|
||||||
/* For the PowerPC, we want to make this function have its structured
|
|
||||||
exception table exception function point to something we control. */
|
|
||||||
|
|
||||||
extern void __cygwin_exception_handler();
|
|
||||||
extern void mainCRTStartup(void) __attribute__((__exception__(__cygwin_exception_handler)));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* In the following ifdef'd i386 code, the FPU precision is set to 80 bits
|
/* In the following ifdef'd i386 code, the FPU precision is set to 80 bits
|
||||||
and all FPU exceptions are masked. The former is needed to make long
|
and all FPU exceptions are masked. The former is needed to make long
|
||||||
doubles work correctly. The latter causes the FPU to generate NaNs and
|
doubles work correctly. The latter causes the FPU to generate NaNs and
|
||||||
@ -58,3 +50,6 @@ mainCRTStartup ()
|
|||||||
|
|
||||||
cygwin_crt0 (main);
|
cygwin_crt0 (main);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void WinMainCRTStartup(void) __attribute__ ((alias("mainCRTStartup")));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user