This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem with Linker Script: specifying discontinuous memory
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: droethig at cipher dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 07 Oct 2004 14:05:04 +0100
- Subject: Re: [ECOS] Problem with Linker Script: specifying discontinuous memory
- References: <41644022.5040100@cipher.com>
David Roethig <droethig@cipher.com> writes:
> I am having a problem with Linker Script on how to specify
> discontinuous memory for the .bss and .data regions.
>
> Our board uses a Philips 2292 which on-chip ram and
> external ram.
>
> My goal: have the linker populate the .bss and .data
> regions beginning with on-chip ram then continuing
> to external ram.
The linker will not allow you to do that. You can only
assign whole output sections to particular memory areas.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss