]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
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 a8d02223da44aec8a8ea776df74acac4c746f2a3..e550b117ec4ffe4ccf3f79e4763fc511e5c9d7e9 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;
        }