diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-03-05 00:16:26 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-03-05 00:16:26 +0100 |
commit | 9209aed0726c77ad13b8d83e73a3cf9f59a8c2b2 (patch) | |
tree | 89f9a3c64883051f95930d821c62fc9b1a8a201c /drivers | |
parent | 62070fa42c4ac23d1d71146a4c14702302b80245 (diff) |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions