linux-sg2042/scripts/mod
Sam Ravnborg 5ecdd0f67c kbuild: fix false section mismatch warnings
Darren Jenkins <darrenrjenkins@gmail.com> pointed out a
number of false positives where we referenced variables
from a _driver variable.
Fix it by check for that pattern and ignore it.

Randy.Dunlap <rdunlap@xenotime.net> pointed out a similar
set of warnings for a number of scsi drivers.
In scsi world they misname their variables *_template or
*_sht so add these to list of variables that may have references
to .init.text with no warning.

Randy.Dunlap <rdunlap@xenotime.net> also pointed out a scsi driver
with many references to .exit.text from .rodata. This is compiler
generated references and we already ignore these for .init.text, so
ignore them for .exit.text also.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2006-04-15 00:35:22 +02:00
..
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
empty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file2alias.c Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2006-03-25 08:48:48 -08:00
mk_elfconfig.c kbuild: kill trailing whitespace in modpost & friends 2006-03-03 16:46:04 +01:00
modpost.c kbuild: fix false section mismatch warnings 2006-04-15 00:35:22 +02:00
modpost.h kbuild: kill trailing whitespace in modpost & friends 2006-03-03 16:46:04 +01:00
sumversion.c kbuild: do not segfault in modpost if MODVERDIR is not defined 2006-02-19 09:51:22 +01:00