Re: Bogus objdump output from kernel object files?

From: Andrew Morton
Date: Tue Feb 14 2006 - 15:53:38 EST


Chuck Ebbert <76306.1226@xxxxxxxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/