[ECOS] Problem with Linker Script: specifying discontinuous memory

Nick Garnett nickg@ecoscentric.com
Thu Oct 7 13:22:00 GMT 2004


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



More information about the Ecos-discuss mailing list