Re: a question about linker and addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ali hagigat <hagigatali@xxxxxxxxx> writes:

> Thank you for the reply. Does PROM loader uses LMA address to load the
> data section?

That is normally how this is arranged, yes.  It's more or less under
your control.

> When we specify LMA and VMA, will any extra coded be added to our
> program? to transfer the LMA data section to VMA address?

You will need that code, yes, and you will have to write it yourself, as
it tends to be highly machine-specific.  There is sample
machine-specific code for this kind of thing in libgloss, which is part
of newlib (http://sourceware.org/newlib/).

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux