This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Separate the heap from bss section
- To: Ho Shui Choy Stanley PS03B NCS <scho at ncs dot com dot sg>
- Subject: Re: [ECOS] Separate the heap from bss section
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 11 May 2001 05:57:02 +0100
- Cc: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <19C34CD863B1D4118E2800508BAF663A0112F62F@STONE>
Ho Shui Choy Stanley PS03B NCS wrote:
>
> In my memory layout, I did not specify a section for my heap. So when I
> make my application, the heap is automatically appended to the bss section.
> My bss section is currently residing in external RAM. I like to shift the
> bss section to internal RAM, but the heap section remains in external RAM.
> How do I seprate them?
Create a user defined section in the MLT named "heap1", located wherever
you want. Look at other standard targets for comparison if that helps.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine