This is the mail archive of the binutils@sources.redhat.com 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: How to understand the p_align in Elf Program Header Table


On Wed, Sep 15, 2004 at 03:38:20PM +0800, Jason wrote:
> integral power of 2, and p_vaddr should equal p_offset, modulo p_align.
> 
> it's mean: p_offset = p_vaddr mod p_align.

No, it means p_offset mod p_align = p_vaddr mod p_align

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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