ARC: dw2 unwind: switch to .eh_frame based unwinding
commit6716dbbdefa9867ba98dea91d89b14168043a48c
authorVineet Gupta <vgupta@synopsys.com>
Mon, 24 Jun 2013 15:52:06 +0000 (24 21:22 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 30 Sep 2016 21:48:20 +0000 (30 14:48 -0700)
treed134bd3853996ec3ebae718a786ec9bfe365c8b1
parentd040876b4aad0c157c5c95779128b71a121ff27d
ARC: dw2 unwind: switch to .eh_frame based unwinding

So finally after almost 8 years of dealing with .debug_frame, we are
finally switching to .eh_frame. The reason being stripped kernel
binaries had non-functional unwinder as .debug_frame was gone.
Also, in general .eh_frame seems more common way of doing unwinding.

This also folds a revert of f52e126cc747 ("ARC: unwind: ensure that
.debug_frame is generated (vs. .eh_frame)") to ensure that we start
getting .eh_frame

Reported-by: Daniel Mentz <danielmentz@google.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Makefile
arch/arc/kernel/entry.S
arch/arc/kernel/module.c
arch/arc/kernel/unwind.c
arch/arc/kernel/vmlinux.lds.S