ARC: warn on improper stack unwind FDE entries
authorVineet Gupta <vgupta@synopsys.com>
Tue, 25 Jun 2013 09:01:47 +0000 (14:31 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 27 Jun 2013 09:07:59 +0000 (14:37 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/unwind.c

index a8d0222..e550b11 100644 (file)
@@ -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;
        }