Mail Archives: djgpp-workers/1996/09/02/08:24:27
> My guess is that this is the known bug in the crt0 code which malloc's
> the stubinfo structure. In rare instances with exactly the right code
> size, it ends up at least partially in a different memory zone. We either
> need to not malloc the structure, or in the final cleanup code save the
> values on the stack before freeing the memory.
%edx was 0x20000 - a conveniently round number. What's the bug? Is
there an easy fix?
> The stack is set to the small value before exit since we are freeing
> the stack.
But is the stack *inside* crt0's code space?
- Raw text -