This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: ELF, Program Header, convert virtual addresses to physical addresses
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Ian Lance Taylor'" <ian at airs dot com>,"'Torsten Mohr'" <tmohr at s dot netic dot de>
- Cc: <binutils at sources dot redhat dot com>
- Date: Thu, 18 Aug 2005 19:42:55 +0100
- Subject: 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....