Changeset 3900
- Timestamp:
- Oct 22, 2014, 10:26:07 PM (11 years ago)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/src/lib/startup/386/crt0.s
r2289 r3900 53 53 __text: 54 54 55 /* 56 * Fix the FPU control word since it may have been perverted by 57 * statically imported DLLs. 58 */ 59 fldcw __crt0_fpucw 60 55 61 #if !defined(NOFORK) && !defined(NOUNIX) 56 62 /* Registering the fork module. If we're forking this call will not return. */ … … 88 94 1: jmp 1b /* Just in case exit() returns :-) */ 89 95 96 /** Initial FPU CW value. */ 97 .align 2, 0xcc 98 __crt0_fpucw: 99 .long 0x37f 90 100 91 101 .data -
trunk/libc/src/libc/startup/os2/x86/crt0.asm
r3895 r3900 61 61 sub esp, 10h 62 62 63 ; 64 ; Fix the FPU control word since it may have been perverted by 65 ; statically imported DLLs. 66 ; 67 fldcw .crt0_fpucw 63 68 64 69 %ifndef NOFORK … … 124 129 call NAME_FUNC(exit) 125 130 jmp .do_exit 131 132 align 4, db 0cch 133 .crt0_fpucw: 134 dd 0x37f 126 135 127 136 -
trunk/libc/src/libc/startup/os2/x86/crt0.s
r3886 r3900 4 4 * OS/2 crt0. 5 5 * 6 * Copyright (c) 2006 knut st. osmundsen <bird@innotek.de>6 * Copyright (c) 2006-2014 knut st. osmundsen <bird@innotek.de> 7 7 * 8 8 * … … 64 64 subl $0x10, %esp 65 65 66 /* 67 * Fix the FPU control word since it may have been perverted by 68 * statically imported DLLs. 69 */ 70 fldcw __crt0_fpucw 66 71 67 72 #if !defined(NOFORK) && !defined(NOUNIX) … … 125 130 jmp do_exit 126 131 132 133 /** 134 * Initial FPU CW value. 135 */ 136 .align 2, 0xcc 137 __crt0_fpucw: 138 .long 0x37f 127 139 128 140
Note:
See TracChangeset
for help on using the changeset viewer.