This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: redboot elf loader
On Mon, 2003-09-29 at 08:00, Mark Salter wrote:
> >>>>> Gary Thomas writes:
>
> > I'd suggest that you leave this to your startup code. Have it copy the
> > data from the VMA to the LMA - that's how we handle it in eCos.
>
> Actually, we copy LMA to VMA. That is, for ROM startup the .data section
> has a VMA in RAM and an LMA in ROM. I tend to believe that the ELF loader
> should indeed be using LMA addresses.
>
How could this work for this example - loading via LMA into memory
that RedBoot clearly needs while running?
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss