Re: [cc65] linker cfg files

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-04-25 12:10:08


On Fri, Apr 25, 2003 at 05:07:13AM -0400, Greg King wrote:
> My comments were meant to remind everyone that we already can create that
> kind of configuration.  We don't need to wait for upgrades to the linker.
> The addresses of the RAM-blocks would be known constants -- expressions
> aren't needed in the linker-scripts.

But Shawn and Groepaz are right with one thing: This won't work with the
current library code, because the heap is initialized to start at the end of
the BSS segment and extends to the bottom of the stack, which in turn is
placed at the end of the RAM memory section. And, there is no way to use a
HEAP segment as a general solution (maybe replacing the current one), because
the linker can only handle fixed size segments, while the heap size should
vary depending on the size of the program.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-04-25 12:10:31 CEST