[Top][All Lists]

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

Re: serverboot's elf loader is broken

From: Neal H. Walfield
Subject: Re: serverboot's elf loader is broken
Date: 05 Jul 2002 21:10:45 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2

Roland McGrath <roland@gnu.org> writes:

> I don't know what you think you are citing but you will have to be more
> specific.

Sure, for instance, from the ld info page (section Basic Linker Script

   Every loadable or allocatable output section has two addresses.
   The first is the "VMA", or virtual memory address.  This is the
   address the section will have when the output file is run.  The
   second is the "LMA", or load memory address.  This is the address
   at which the section will be loaded.  In most cases the two
   addresses will be the same.  An example of when they might be
   different is when a data section is loaded into ROM, and then
   copied into RAM when the program starts up (this technique is often
   used to initialize global variables in a ROM based system).  In
   this case the ROM address would be the LMA, and the RAM address
   would be the VMA.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]