Re: page size change on MIPS

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

 



On 02/03/2011 08:16 PM, naveen yadav wrote:
Hi, I am adding readelf info also .

mips-linux-gnu-readelf -S squashfs-root/bin/busybox
There are 35 section headers, starting at offset 0x174290:


Section headers are not relevant to any of this. You need to look at the program headers. Try 'readelf -l'

David Daney


[...]


On Mon, Jan 31, 2011 at 6:38 PM, Ralf Baechle<ralf@xxxxxxxxxxxxxx>  wrote:
On Sun, Jan 30, 2011 at 08:32:43PM +0530, Himanshu Aggarwal wrote:

Why should the application or the toolchains depend on pagesize? I am
not very clear on this. Can someone explain it?

To allow loading directly with mmap the executable file's layout must
be such that it's it's segments are on offsets that are a multiple of
the page size so in turn the linker must know that alignment.

  Ralf







[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux