bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUG: bfd/elf allows only 2 PT_LOAD phdrs


From: Alan Modra
Subject: Re: BUG: bfd/elf allows only 2 PT_LOAD phdrs
Date: Wed, 11 Dec 2002 13:35:03 +1030
User-agent: Mutt/1.4i

On Tue, Dec 10, 2002 at 07:42:52PM -0700, Bhavesh P. Davda wrote:
> Can you expand on why you think it's too late to be adjusting section
> layout. I thought that this is the function where section layout is
> being decided.

At this point, all section vmas have been fixed.  By increasing the
space taken by the program header, you will change the relationship
between file offset and vma.  The ELF standard requires that
vma % pagesize == file_offset % pagesize, to support on-demand
paging of executables.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]