diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-06-24 11:52:06 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-09-30 17:48:20 -0400 |
commit | 6716dbbdefa9867ba98dea91d89b14168043a48c (patch) | |
tree | d134bd3853996ec3ebae718a786ec9bfe365c8b1 /arch/arc/Makefile | |
parent | d040876b4aad0c157c5c95779128b71a121ff27d (diff) |
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>
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r-- | arch/arc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 601ed173080b..fc6ff8f09f23 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile | |||
@@ -66,6 +66,8 @@ endif | |||
66 | 66 | ||
67 | endif | 67 | endif |
68 | 68 | ||
69 | cflags-$(CONFIG_ARC_DW2_UNWIND) += -fasynchronous-unwind-tables | ||
70 | |||
69 | # By default gcc 4.8 generates dwarf4 which kernel unwinder can't grok | 71 | # By default gcc 4.8 generates dwarf4 which kernel unwinder can't grok |
70 | ifeq ($(atleast_gcc48),y) | 72 | ifeq ($(atleast_gcc48),y) |
71 | cflags-$(CONFIG_ARC_DW2_UNWIND) += -gdwarf-2 | 73 | cflags-$(CONFIG_ARC_DW2_UNWIND) += -gdwarf-2 |