* crt0.cc: Remove PPC considerations.

(WinMainCRTStartup): Add symbol as alias to mainCRTStartup.
This commit is contained in:
Corinna Vinschen 2005-09-29 14:28:22 +00:00
parent 6a33f745c0
commit 9a7b0aad2a
2 changed files with 9 additions and 9 deletions

View File

@ -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>
Change name from commune_recv to commune_process throughout.

View File

@ -1,19 +1,11 @@
/* 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
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
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
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
@ -58,3 +50,6 @@ mainCRTStartup ()
cygwin_crt0 (main);
}
void WinMainCRTStartup(void) __attribute__ ((alias("mainCRTStartup")));