ELF, Program Header, convert virtual addresses to physical addresses

Dave Korn dave.korn@artimi.com
Thu Aug 18 18:43:00 GMT 2005


----Original Message----
>From: Ian Lance Taylor
>Sent: 18 August 2005 19:22

> Torsten Mohr <tmohr@s.netic.de> writes:
> 
>>> Evidently Green Hills doesn't use p_paddr at all.  Presumably for them
>>> p_paddr is always the same as p_vaddr.
>> 
>> So isn't that a bug?  How can other tools like objcopy
>> then convert such an ELF file?
> 
> I've never used the Green Hills toolchain.  They must have some way to
> describe loading a program at one address and running it another.  I
> don't know how they describe that in the ELF file.

  The Green Hills toolchain is known to produce non-standard ELF that isn't
compatible with FSF tools.  I don't know any more than that, I'm afraid; in
particular, I can't tell you _how_ non-standard it may be or how difficult
making them interoperate could be.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Binutils mailing list