kbuild: add "Section mismatch" warning whitelist for powerpc
authorLi Yang <leoli@freescale.com>
Mon, 14 May 2007 10:04:28 +0000 (18:04 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 19 May 2007 07:11:57 +0000 (09:11 +0200)
commitcd5477911fc9f5cc64678e2b95cdd606c59a11b5
treed893f07b0040d36dfc60040dc695384e9afcf103
parentf892b7d480eec809a5dfbd6e65742b3f3155e50e
kbuild: add "Section mismatch" warning whitelist for powerpc

This patch fixes the following class of "Section mismatch" warnings when
building powerpc platforms.

WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from prom_entry (offset 0x0)
WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:mpc8313_rdb_probe from .machine.desc after 'mach_mpc8313_rdb' (at offset 0x4)
....

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c