diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-03-17 11:40:25 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-03-17 11:40:25 +0300 |
commit | b532ee08bcf81757479e902f4b9f1944e7f13701 (patch) | |
tree | 4749c08e8c3405496925881e7d4005ad9336a07a /winsup/cygwin/dcrt0.cc | |
parent | d2948a681dfc4497c1ed557bd419258e0eeb041a (diff) |
* crt0.c (mainCRTStartup): Move call to _feinitialise from here...
* dcrt0.cc (_dll_crt0): ...to here.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index c6131e809..ad6b62b8f 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -35,6 +35,7 @@ details. */ #include "tls_pbuf.h" #include "exception.h" #include "cygxdr.h" +#include "fenv.h" #include "ntdll.h" #define MAX_AT_FILE_LEVEL 10 @@ -980,6 +981,9 @@ __cygwin_exit_return: \n\ extern "C" void __stdcall _dll_crt0 () { +#ifdef __i386__ + _feinitialise (); +#endif main_environ = user_data->envptr; if (in_forkee) { |