From: Sam Ravnborg <sam@ravnborg.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Chuck Ebbert <76306.1226@compuserve.com>,
roland@redhat.com, drepper@redhat.com,
linux-kernel@vger.kernel.org
Subject: Re: Bogus objdump output from kernel object files?
Date: Sat, 25 Feb 2006 20:03:24 +0100 [thread overview]
Message-ID: <20060225190324.GA9326@mars.ravnborg.org> (raw)
In-Reply-To: <20060214125344.6248a60f.akpm@osdl.org>
On Tue, Feb 14, 2006 at 12:53:44PM -0800, Andrew Morton wrote:
> Chuck Ebbert <76306.1226@compuserve.com> wrote:
> >
> > On Sun, 12 Feb 2006 at 01:40:46 -0800, Andrew Morton wrote:
> >
> > > btw, is something up with `make foo.lst'? It hasn't worked for me for
> > some
> > > time.
> > >
> > > bix:/usr/src/25> make mm/vmscan.lst
> > > MKLST mm/vmscan.lst
> >
> > Just doing 'objdump -d -r -l -j .text mm/vmscan.o' gives:
> >
> > mm/vmscan.o: file format elf32-i386
> >
> > Disassembly of section .text:
> >
> > 00000000 <shrink_slab>:
> > kswapd_init():
> > ^^^^^^^^^^^^^^
> > This is actually at offset 0 in .init.text
> >
> > mm/vmscan.c:176
> > 0: 55 push %ebp
> > shrink_slab():
> > ^^^^^^^^^^^^^^
> > OK, back to the right location.
>
> Looks like it's a binutils problem.
>
> http://sources.redhat.com/bugzilla/show_bug.cgi?id=2338
>
> HJ said he'd try to get this fixed for the next binutils release.
I've played a little with make dir/foo.lst and it sort of seems to work
for me. But I dunno how to really check the output.
objdump spits out a warning on my amd64 due to the --adjust-vma=xxx
but that I suppose is again a binutils issue. The value calculated
generate the correct adjust factor.
The --fverbose-asm cannot omprove output of make dir/foo.lst since
the .lst file is created based on the .o file, whereas --fverbose-asm
only have impact on the file generated by gcc.
Let me know if anyone thinks something is bad with the kbuild
make dir/foo.lst functionality and I will ahve a look.
Sam
next prev parent reply other threads:[~2006-02-25 19:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-14 9:54 Chuck Ebbert
2006-02-14 20:53 ` Andrew Morton
2006-02-25 19:03 ` Sam Ravnborg [this message]
2006-02-25 21:11 Chuck Ebbert
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=20060225190324.GA9326@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=76306.1226@compuserve.com \
--cc=akpm@osdl.org \
--cc=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=roland@redhat.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®