commit | baadb8fd0c62540f2ffb2d0f12b8a47c7975562b | [log] [tgz] |
---|---|---|
author | Vineet Gupta <vgupta@synopsys.com> | Tue Jun 25 14:31:47 2013 +0530 |
committer | Vineet Gupta <vgupta@synopsys.com> | Thu Jun 27 14:37:59 2013 +0530 |
tree | f3c934c2eab9d8e0f71aa73a4df987c367e3a503 | |
parent | ce7599567e27eabc1003e35b6f05579268dafecd [diff] [blame] |
ARC: warn on improper stack unwind FDE entries Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
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 @@ * instead of the initial loc addr * return; */ + WARN(1, "unwinder: FDE->initial_location NULL %p\n", + (const u8 *)(fde + 1) + *fde); } ++n; }