ARM: module: ignore unwind for sections not marked SHF_ALLOC
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Nov 2010 13:04:16 +0000 (13:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 1 Dec 2010 10:23:05 +0000 (10:23 +0000)
commit50005a8deb38e5e6456ebd94e57adb321d4589de
tree22a45e6e598848aeb1d930bfb0bc13bd974bf85c
parent8931360eb9c6ec8bd30efef579cef81917a2fcf3
ARM: module: ignore unwind for sections not marked SHF_ALLOC

If a section is not marked with SHF_ALLOC, it will be discarded
by the module code.  Therefore, it is not correct to register
the unwind tables.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/module.c