Thread (19 messages) 19 messages, 3 authors, 2012-10-12

[PATCH] [ARM] Use AT() in the linker script to create correct program headers

From: Russell King - ARM Linux <hidden>
Date: 2012-10-05 08:45:23
Also in: lkml

On Mon, Oct 01, 2012 at 10:06:39AM -0600, Jason Gunthorpe wrote:
On Mon, Oct 01, 2012 at 04:39:53PM +0100, Dave Martin wrote:
quoted
quoted
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x008000 0xc0008000 0x00008000 0x372244 0x3a4310 RWE 0x8000
Not related directly to your patch, but I wonder why we don't we see
separate r-x and rw- segments?
I think this is because the sections are not aligned when the
protections change, and the sections are not sorted by protection
type.
They aren't sorted by protection type, they're ordered according to what's
required for the kernel - which is to have the init sections together as
one complete block so that it can be freed, and to place all of the kernel
text as close to the beginning of the image as possible.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help