www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/22/01:03:08

Date: Thu, 22 Aug 1996 07:54:50 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Serge Pachkovsky <ps AT ocisgi7 DOT unizh DOT ch>
Cc: djgpp AT delorie DOT com
Subject: Re: -fomit-frame-pointer dangers: FIRE!
In-Reply-To: <4vefgm$304@rzunews.unizh.ch>
Message-Id: <Pine.SUN.3.91.960822075332.2237F-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019