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: Loading an elf file


On Fri, Apr 09, 2010 at 05:48:04PM +0300, Bahadir Balban wrote:
> Here's an excerpt from the linker script we use, could you please
> comment on what's missing?

Lacks page alignment gaps.  Your hardware can't change memory
protection on byte boundaries.  The linker knows this, so if you mash
RW sections up against RE sections you'll get a RWE segment.

-- 
Alan Modra
Australia Development Lab, IBM


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