kernel_optimize_test/scripts/mod
Sam Ravnborg 9209aed072 kbuild: kill false positives from section mismatch warnings for powerpc
Building an allmodconfig kernel for ppc64 revealed a number of false
positives - originally reported by Andrew Morton.
This patch removes most if not all false positives for ppc64:

Section .opd
The .opd section contains function descriptors at least for ppc64.
So ignore it for .init.text (was ignored for .exit.text).
See description of function descriptors here:
http://www.linuxbase.org/spec/ELF/ppc64/PPC-elf64abi-1.7.html

Section .toc1
ppc64 places some static variables in .toc1 - ignore the.

Section __bug_tabe
BUG() and friends uses __bug_table. Ignore warnings from that section.

Module parameters are placed in .data.rel for ppc64, for adjust pattern to
match on section named .data*

Tested with gcc: 3.4.0 and binutils 2.15.90.0.3

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2006-03-05 00:16:26 +01: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 kbuild: kill trailing whitespace in modpost & friends 2006-03-03 16:46:04 +01:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mk_elfconfig.c kbuild: kill trailing whitespace in modpost & friends 2006-03-03 16:46:04 +01:00
modpost.c kbuild: kill false positives from section mismatch warnings for powerpc 2006-03-05 00:16:26 +01: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