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: ARM ELF p_paddr is not put to zero


Drasko DRASKOVIC <drasko.draskovic@gmail.com> writes:

> ARM ELF specification demands that p_paddr is set to 0.

There are several ARM ELF specifications, so you need to be more
precise.  I don't see this requirement in the EABI 2.08 docs.

> I saw however some ARM ELF binaries not having p_paddr set to zero,
> but having the same p_paddr as p_vaddr. Why is that ?

That is the default behaviour for the GNU tools, so that it is possible
to represent a load address separate from the virtual address.  So most
likely this unusual ARM ELF requirement has simply not been implemented.

Ian


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