lkml.org 
[lkml]   [2006]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kbuild - status on section mismatch warnings
On Sun, Mar 05, 2006 at 10:58:53PM +0100, Sam Ravnborg wrote:
> Hi Al.
>
> > Now try x86 with sd.o non-modular. And see
> >
> >
> > __init foo()
> > {
> > ....
> > switch(n) {
> > ....
> > ....
> > }
> > }
> Hmm, in my tree sd.o has no switch in the init function. But that does
> not change your point which is valid indeed.

sd_major() gets inlined there with sufficiently recent gcc.

> For the same reason references to .init.text from .rodata are not warned
> upon - there are simply too many compielr generated false positives.
>
> Following is the original comment from reference_init.pl:

Oops, right you are - it's reference_discarded that gets buggered on that.
My apologies. Still gets a spew on make buildcheck, though...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-06 13:11    [W:0.089 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site