From: Rupesh S Date: Thu, 12 Jun 2003 10:30:55 -0700 Subject: [U-Boot-Users] Relocation of code/data in a dynamic linker absent system. Message-ID: <005e01c33108$6140c540$6706a8c0@SPLENDOR> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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