* More info on section mismatches (was Re: [PATCH] [TULIP] Fix section mismatch in de2104x.c)
[not found] ` <4526A2ED.6030406@garzik.org>
@ 2006-10-06 19:25 ` Valerie Henson
0 siblings, 0 replies; only message in thread
From: Valerie Henson @ 2006-10-06 19:25 UTC (permalink / raw)
To: Jeff Garzik
Cc: Matthew Wilcox, netdev, Helge Deller, Kyle McMartin,
Richard Henderson, Arjan van de Ven, linux-kernel
On Fri, Oct 06, 2006 at 02:39:41PM -0400, Jeff Garzik wrote:
> Matthew Wilcox wrote:
> >From: Helge Deller <deller@parisc-linux.org>
> >
> >WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to
> >.init.text:de_init_one from .data.rel.local after 'de_driver' (at offset
> >0x20)
> >WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to
> >.exit.text:de_remove_one from .data.rel.local after 'de_driver' (at offset
> >0x28)
>
> I'm a bit blind, so help me out here... what precisely is mismatched?
>
> AFAICS everything is properly marked __init or __exit.
(Cc'd Richard Henderson as resident gcc guru.)
We're discussing a way to get more information out of section mismatch
reports so that the causes of section mismatches are a little more
obvious. I'd like to see something like:
foo() is marked __init at line 34
bar() calls foo() at line 57
Arjan points out that optimization may make this difficult; I'm happy
with a separate script running at a lower level of optimization that
you can run by hand when one of these warnings shows up.
Ideas?
-VAL
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-06 19:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <11601583542790-git-send-email-matthew@wil.cx>
[not found] ` <4526A2ED.6030406@garzik.org>
2006-10-06 19:25 ` More info on section mismatches (was Re: [PATCH] [TULIP] Fix section mismatch in de2104x.c) Valerie Henson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox