From: remi.colinet@free.fr
To: Vivek Goyal <vgoyal@in.ibm.com>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
suparna bhattacharya <suparna@in.ibm.com>,
vara prasad <varap@us.ibm.com>,
Hariprasad Nellitheertha <hari@in.ibm.com>
Subject: Re: 2.6.9-mm1 : compile error & question
Date: Mon, 25 Oct 2004 11:15:33 +0200 [thread overview]
Message-ID: <1098695733.417cc43516b8c@imp2-q.free.fr> (raw)
In-Reply-To: <1098688622.2563.16.camel@2fwv946.in.ibm.com>
Selon Vivek Goyal <vgoyal@in.ibm.com>:
> Hi Remi,
>
> On Mon, 2004-10-25 at 03:30, Remi Colinet wrote:
>
> > Sections:
> > Idx Name Size VMA LMA File off Algn
> > 0 .text 0037d80e c0100000 00100000 00001000 2**12
> > <-- something wrong here for LMA used to be 0xc010 000
>
>
> This has been changed so that LMA (Load memory address) reflects the
> physical address where sections shall be loaded. This is required to
> make sure that a kexec boot can load a vmlinux image.
Does it mean that the .text LMA start address is going to be definitively 0010
0000, even for those who disable kexec in their .config file?
>
>
>
> > CONTENTS, ALLOC, LOAD, DATA
> > 26 .bss 0006dfa0 c06c6000 c06c6000 005c7000 2**12 <--
> > somthing wrong with LMA for .bss.
> > CONTENTS, ALLOC, LOAD, DATA
> > 27 .comment 0000c36f 00000000 00000000 00634fa0 2**0
> > CONTENTS, READONLY
> > 28 .debug_line 0021497b 00000000 00000000 0064130f 2**0
> > ...
> >
> > This is very strange. The .text LMA of the vmlinux file is at 0x__0__010
> > 0000 whereas, it used to be at 0x__c__010 0000. But then, the .bss LMA
> > of the vmlinux file suddenly jump at 0x__c__06c 6000 instead of
> > 0x__0__06c 6000 which would have seemed more natural -0). What can
> > cause this offset? I have look for the .bss section content. It contains
> > .bss data and .bss.page_aligned. The later seems to be the root of the
> > .bss LMA offset. .bss.page_aligned contains then empty_zero_page and
> > the swapper_pg_dir.
>
> This looks like a problem with the older binutils package. I had faced
> similar problem on one of the machines but it was resolved as soon as I
> switched to a newer binutils package.
My distro is effectively becoming old (FC1). Going to upgrade it.
Thanks
Remi
next prev parent reply other threads:[~2004-10-25 9:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-24 22:00 Remi Colinet
2004-10-25 7:17 ` Vivek Goyal
2004-10-25 9:15 ` remi.colinet [this message]
2004-10-25 9:51 ` Vivek Goyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1098695733.417cc43516b8c@imp2-q.free.fr \
--to=remi.colinet@free.fr \
--cc=akpm@osdl.org \
--cc=hari@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=suparna@in.ibm.com \
--cc=varap@us.ibm.com \
--cc=vgoyal@in.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®