Opened 10 years ago
Last modified 10 years ago
#317 new enhancement
FPU control word safe API wrappers
Reported by: | bird | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | libc-0.7 |
Component: | libc | Version: | 0.6.5 |
Severity: | minor | Keywords: | FPUCW FS SIGFPE |
Cc: |
Description (last modified by )
Extend the high memory 'safe' wrappers to include FPU CW safeness.
APIs that may modify FPU CW:
- DosLoadModule
- DosFreeModule
- DosRead (console)
- DosWrite (console)
- WinCreateMsgQueue
- ...
Note:
See TracTickets
for help on using tickets.
Just noticed that neither DosLoadModuleEx or DosFreeModuleEx was making any efforts to preserve the FPU CW register. This naturally affects kLibC's dlopen/dlclose implementation. Fixed this in r3906 on both trunk and branch.