summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-25 09:01:47 (GMT)
committerVineet Gupta <vgupta@synopsys.com>2013-06-27 09:07:59 (GMT)
commitbaadb8fd0c62540f2ffb2d0f12b8a47c7975562b (patch)
treef3c934c2eab9d8e0f71aa73a4df987c367e3a503 /arch
parentce7599567e27eabc1003e35b6f05579268dafecd (diff)
downloadlinux-baadb8fd0c62540f2ffb2d0f12b8a47c7975562b.tar.xz
ARC: warn on improper stack unwind FDE entries
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/kernel/unwind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c
index a8d0222..e550b11 100644
--- a/arch/arc/kernel/unwind.c
+++ b/arch/arc/kernel/unwind.c
@@ -289,6 +289,8 @@ static void __init setup_unwind_table(struct unwind_table *table,
* instead of the initial loc addr
* return;
*/
+ WARN(1, "unwinder: FDE->initial_location NULL %p\n",
+ (const u8 *)(fde + 1) + *fde);
}
++n;
}