]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ed76311ea13452589d198855827ea19722be5bb
tree50d5dcda1a5d73c51c8c6e70858f8f276af1c29c
parentd44f9a46448a082d1b38a5e9b3dae77cd58003b8
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