From baadb8fd0c62540f2ffb2d0f12b8a47c7975562b Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Tue, 25 Jun 2013 14:31:47 +0530 Subject: ARC: warn on improper stack unwind FDE entries Signed-off-by: Vineet Gupta 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; } -- cgit v0.10.2