[U-Boot-Users] Relocation of code/data in a dynamic linker absent system.

Rupesh S rupeshs at myw.ltindia.com
Thu Jun 12 19:30:55 CEST 2003


Hi,

I would like to start a discussion on the various techniques of relocation of data & code w.r.t to a non-O.S (no dynamic linker) system.
The idea is to compare different thoughts and bring out the best possibility.

To start with,I myself know of a relocation technique, as used by GNU toochians : The concept of VMA/LMA... We link the code in such a way that we have a different execution address(VMA) and a load address(LMA). All we need to do in our initializaton code is to copy the data/text from LMA to VMA before we really start using the data/text.

Comments are welcome..
Rupesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030612/e2a22eff/attachment.htm 


More information about the U-Boot mailing list