This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ELF, Program Header, convert virtual addresses to physical addresses


----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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]