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


Hi,

> What is the context?  In other words, why do you want to do this?

i use this conversion in a perl script that sets converts
an ELF file into a memory image and downloads it into a
micro.  This script also does some specific changes to
an ELF file.

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

Isn't there a rule how to convert virtual addresses to
physical addresses?


Best regards,
Torsten.


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