GNU LD and ARM ELF spec disagree about meaning of p_vaddr field

Jason R Thorpe thorpej@wasabisystems.com
Tue Sep 24 12:22:00 GMT 2002


On Tue, Sep 24, 2002 at 05:00:03PM +0100, Nick Clifton wrote:

 >   If the GNU Linker were to be changed to conform to the ARM ELF spec,
 >   would this affect ARM Linux ?

Well, it would affect NetBSD/arm.  NetBSD running on ARM-based embedded
systems use VMA vs. LMA to support flash images, etc.  The NetBSD boot
loader also uses to distinguish between the address at which to load a
section when the MMU is off vs. where to run it when the MMU is on (kernel).

 >     * A new ARM target triple could be created which does conform to
 >       the ARM ELF spec.  (eg arm-elf-eabi ?)

This would be my preference.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>



More information about the Binutils mailing list