瀏覽代碼

ARC: warn on improper stack unwind FDE entries

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta 12 年之前
父節點
當前提交
baadb8fd0c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arc/kernel/unwind.c

+ 2 - 0
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;
 	}