Explorar o código

ARC: warn on improper stack unwind FDE entries

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta %!s(int64=12) %!d(string=hai) anos
pai
achega
baadb8fd0c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;
 	}