[Top] [All Lists]

Re: page size change on MIPS

To: naveen yadav <>
Subject: Re: page size change on MIPS
From: David Daney <>
Date: Fri, 04 Feb 2011 09:25:10 -0800
Cc: Ralf Baechle <>, Himanshu Aggarwal <>,,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10
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<>  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.


<Prev in Thread] Current Thread [Next in Thread>