www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/17/21:13:18

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fixed stack size?
Date: Tue, 17 Aug 1999 18:11:17
Organization: Aspen Technology, Inc.
Lines: 12
Message-ID: <37b9a5c5.sandmann@clio.rice.edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990815135435 DOT 1935g-100000 AT is>
NNTP-Posting-Host: athena.aco.aspentech.com
X-NewsEditor: ED-1.5.8
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

There is a more generic "fix" for the stack overflow.  Make the SS
selector have an expand down limit and be different from DS.  This
was the way it was done in DJGPP V1.x by the way, but breaks using
-fomit-frame-pointer since EBP can't be a generalize offset since
it is based on SS.

There are actually hooks/pieces in the V2 code to turn on an option
to do this (the entire DS_ALIAS stuff gets hacked).  Time to 
implement it completely ran out (as did interest).

This is the way that automatic stack expansion was also going to
be done (catch the signal, fix the arena, resume).

- Raw text -


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