linux/scripts/mod
Sam Ravnborg cb7e51d8b1 kbuild: fix modpost warnings for xtensa
The Xtensa architecture places literal pools in sections separate
from the instructions. The corresponsing text sections, therefore,
reference the .literal section, and we have to suppress those
warnings.

The naming convention defines the name for a literal
section as .SECTION.literal, unless .SECTION is .text. In that case
the name is only .literal. Using strncmp() instead of strcmp()
to compare the from-section with .SECTION.init.refok in pattern 0
should not cause any regressions for other architectures.

We also need to suppress warnings for two informational
sections (.xt.lit and .xt.prop) used by the Xtensa architecture.

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-07-25 22:24:52 +02:00
..
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
empty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file2alias.c ACPI: autoload modules - Create ACPI alias interface 2007-07-23 13:56:16 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mk_elfconfig.c blackfin architecture 2007-05-07 12:12:58 -07:00
modpost.c kbuild: fix modpost warnings for xtensa 2007-07-25 22:24:52 +02:00
modpost.h kbuild: make better section mismatch reports on i386 and mips 2007-07-16 21:48:49 +02:00
sumversion.c kbuild: include limits.h in sumversion.c for PATH_MAX 2007-05-19 09:10:59 +02:00