diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-09-29 18:28:22 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-09-29 18:28:22 +0400 |
commit | 9a7b0aad2ade1e0f3d0450118861d7bc52f344c0 (patch) | |
tree | 20a793183099d32b76f0b24512496656f9734a02 /winsup | |
parent | 6a33f745c0c9a3b0fb783ad04c21fe3e961b7846 (diff) |
* crt0.cc: Remove PPC considerations.
(WinMainCRTStartup): Add symbol as alias to mainCRTStartup.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/crt0.c | 13 |
2 files changed, 9 insertions, 9 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 4d366c0ad..ad80966ee 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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. diff --git a/winsup/cygwin/crt0.c b/winsup/cygwin/crt0.c index 48cafd5e1..1421f6566 100644 --- a/winsup/cygwin/crt0.c +++ b/winsup/cygwin/crt0.c @@ -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"))); + |