Ticket #312: fpucw.diff
File fpucw.diff, 465 bytes (added by , 10 years ago) |
---|
-
src/emx/src/lib/startup/startup.c
diff --git a/src/emx/src/lib/startup/startup.c b/src/emx/src/lib/startup/startup.c index 50ef590..2009423 100755
a b int _CRT_init(void) 77 77 * to zero before calling main(). 78 78 */ 79 79 errno = 0; 80 81 /* 82 * Initialize FPU control word. 83 */ 84 unsigned cw = 0x37f; 85 __asm__ __volatile__("fldcw %0" : : "m" (cw)); 86 80 87 LIBCLOG_RETURN_INT(0); 81 88 } 82 89