2 ===================================================================
3 --- CRT_fp10.c (Revision 43956)
4 +++ CRT_fp10.c (Arbeitskopie)
9 - { __asm__ ("fninit" ) ;}
12 + __asm__ ("fninit" );
19 void __attribute__ ((alias ("_fpreset"))) fpreset(void);
21 +void fpreset(void) { _fpreset(); }
24 ===================================================================
25 --- CRT_fp8.c (Revision 43956)
26 +++ CRT_fp8.c (Arbeitskopie)
28 (* __MINGW_IMP_SYMBOL(_fpreset))();
32 void __attribute__ ((alias ("_fpreset"))) fpreset(void);
34 +void fpreset(void) { _fpreset(); }
37 ===================================================================
38 --- crtexe.c (Revision 43956)
39 +++ crtexe.c (Arbeitskopie)
42 #include <sect_attribs.h>
47 extern wchar_t *** __MINGW_IMP_SYMBOL(__winitenv);
49 #define _commode (* __MINGW_IMP_SYMBOL(_commode))
50 extern int _dowildcard;
52 +#if defined(__GNUC__)
53 int _MINGW_INSTALL_DEBUG_MATHERR __attribute__((weak)) = 0;
55 +int _MINGW_INSTALL_DEBUG_MATHERR = 0;
57 extern int __defaultmatherr;
58 extern _CRTIMP void __cdecl _initterm(_PVFV *, _PVFV *);
61 ===================================================================
62 --- gs_support.c (Revision 43956)
63 +++ gs_support.c (Arbeitskopie)
70 GS_ContextRecord.Rip = (ULONGLONG) __builtin_return_address (0);
71 GS_ContextRecord.Rsp = (ULONGLONG) __builtin_frame_address (0) + 8;
73 GS_ContextRecord.Eip = (DWORD) __builtin_return_address (0);
74 GS_ContextRecord.Esp = (DWORD) __builtin_frame_address (0) + 4;
78 + GS_ContextRecord.Rip = (ULONGLONG) _ReturnAddress();
79 + GS_ContextRecord.Rsp = (ULONGLONG) _AddressOfReturnAddress();
81 + GS_ContextRecord.Eip = (DWORD) _ReturnAddress();
82 + GS_ContextRecord.Esp = (DWORD) _AddressOfReturnAddress();