Mail Archives: djgpp/1996/08/22/01:03:08
On 21 Aug 1996, Serge Pachkovsky wrote:
> Oh, sure. Quite a lot of, actually ;-)
> The problem with -fomit-frame-pointer under DPMI is that it frees up an
> extra register (bp) for general use. x86 use SS: as the default selector
> when bp is used as an address base register, and if SS: happen to be
> unequal to DS:, and your data is in DS:, you lose with segmentation fault.
This problem doesn't exist in DJGPP v2. The above describes what
happened when you use -fomit-frame-pointer in DJGPP v1.x.
- Raw text -