This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
packages to different memory sections
- From: "Martin Laabs" <martin dot laabs at mailbox dot tu-dresden dot de>
- To: "ecos-devel at ecos dot sourceware dot org" <ecos-devel at ecos dot sourceware dot org>
- Date: Sun, 23 Nov 2008 23:21:23 +0100
- Subject: packages to different memory sections
Hi,
I have a board with a lpc2294. This processor has about 256kB of
fast internal flash. However - this is not enough. At least while
developement. I have plenty of flash at the external memory bus but
it has many waitstates.
Now I'd like to split ecos in two parts and say "HAL, Kernel and
Math"-Package in the fast internal flash, "ISO-C, Fat, zLib etc."-Packages
into the slow external flash.
Is this possible without too much handwork on the linker script?
(So not add every symbol per hand to the coresponding section.)
And if not - does the gnu-ld linker support two sections of the
same name or assignment of (i.e. the .text) segment to two differ-
ent memory regions? (So that I could use as well the internal as
the external flash for the .text segment.) The info page of ld
was not very informative about that.
Thank you,
Martin L.