diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-06-25 14:31:47 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-06-27 14:37:59 +0530 |
commit | baadb8fd0c62540f2ffb2d0f12b8a47c7975562b (patch) | |
tree | f3c934c2eab9d8e0f71aa73a4df987c367e3a503 /arch/arc/kernel | |
parent | ce7599567e27eabc1003e35b6f05579268dafecd (diff) | |
download | talos-obmc-linux-baadb8fd0c62540f2ffb2d0f12b8a47c7975562b.tar.gz talos-obmc-linux-baadb8fd0c62540f2ffb2d0f12b8a47c7975562b.zip |
ARC: warn on improper stack unwind FDE entries
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r-- | arch/arc/kernel/unwind.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index a8d02223da44..e550b117ec4f 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; } |