From: Shawn Jefferson (shawnjefferson_at_24fightingchickens.com)
Date: 2003-10-28 20:37:15
On Tue, 28 Oct 2003 19:15:08 +0100, you wrote: >The current implementation of the heap assumes that the stack is located at >the end of the BSS segment. The heap is located at the bottom of the stack and >will grow downwards. There has been a discussion about changing this some >months ago, but a flexible solution requires expressions in the linker >scripts, so it has been postponed. Doh! I think I see what you mean. the heapend initialization doesn't really do anything... and the initheap is assigning the heapend to just below the stack, not really in the BSS segment at all... Hmmm, another question then, if the above is correct, will moving the BSS segment on the Atari platform cause problems with the heap? Since heaporg and heapptr are assigned values from the BSS segment, or does these variables get changed somewhere else? -- Shawn Jefferson ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-10-28 20:40:32 CET