kbuild, modpost: fix unexpected non-allocatable warning with mips
authorSam Ravnborg <sam@ravnborg.org>
Mon, 4 May 2009 11:05:26 +0000 (13:05 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 4 May 2009 11:05:26 +0000 (13:05 +0200)
commit4391ed6aa9a38cdfb48addd7a9b24a2ff099b1a7
tree50d5dcda1a5d73c51c8c6e70858f8f276af1c29c
parent028ecebdd83cc4a7f8c7e96e28a5537d2ac98dae
kbuild, modpost: fix unexpected non-allocatable warning with mips

mips emit the following debug sections:
.mdebug* and .pdr

They were included in the check for non-allocatable section
and caused modpost to warn.

Manuel Lauss suggested to fix this by adding the relevant
sections to the list of sections we do not check.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reported-by: Manuel Lauss <mano@roarinelk.homelinux.net>
scripts/mod/modpost.c