www.delorie.com/djgpp/bugs/show.cgi | search |
In files s_ceil.s, sf_ceil.s, s_floor.s and sf_floor.s the local variables are bellow the stack pointer. For example, in sf_floor.s: ENTRY(floorf) pushl %ebp movl %esp,%ebp subl $8,%esp fstcw -12(%ebp) ...
libm.a sources were provided by Cygnus
I only found out recently that in the release version, the exception code uses the user stack, destroying around 100 bytes below the stack pointer. The result is that ceil and floor from libm.a can no longer be used with fp emulation
Upgrade to v2.02.
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |