delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/25/04:32:44

Date: Sun, 25 Jul 1999 11:29:45 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: djgpp AT delorie DOT com, DJ Delorie <dj AT delorie DOT com>,
Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Subject: Re: Fixed stack size?
In-Reply-To: <7na6mg$77h$2@news.luth.se>
Message-ID: <Pine.SUN.3.91.990725112908.27488R@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 23 Jul 1999, Martin Str|mberg wrote:

> Why is the stack size fixed? Can't it be allocated dynamically?

I'm not sure I understand all the subtle aspects of this, but one
problem is that the stack sits between .bss and the heap, so
expanding it would require to move the heap around.  (The heap clearly
requires expanding, so it's placed last.)

DJ, Charles, can you comment on this?

- Raw text -


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