Mail Archives: djgpp/1994/11/21/15:19:13
> You can safely set SS := DS, but you lose the stack overflow
> protection. The two selectors map to the same linear starting
> address. In fact, this "enhancement" does break -fomit-frame-pointer
> mode in gcc, which assumes that you can use SS to point to non-stack
> things, so it may go away and then SS==DS always.
Two other comments:
Due to my design flaw, Coproessor errors under DPMI will not be flagged
if you set SS==DS (its a long story)
Using -fomit-frame-pointer under DPMI will probably cause the machine
to hang if it tries to generate a call frame traceback (the EBP
chain will be garbage).
- Raw text -