History

Merge tag 'arc-4.7-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc

Pull ARC fix from Vineet Gupta: "Reinstate dwarf unwinder/loadable-modules with new gnu tools" * tag 'arc-4.7-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc: arc: unwind: warn only once if DW2_UNWIND is disabled ARC: unwind: ensure that .debug_frame is generated (vs. .eh_frame)

Linus Torvalds committed 10 years ago

Commit 284341d2 parents 20bfdca 9bd54512 files · +1 −3Browse files

Unified · Split

2 files
  1. arch/arc/Makefile +0 −2
  2. arch/arc/kernel/stacktrace.c +1 −1
arch/arc/Makefile+0−2
@@ -66,8 +66,6 @@ endif · 65 unmodified lines
66 66
67endif67endif
68 68
69cflags-$(CONFIG_ARC_DW2_UNWIND) += -fasynchronous-unwind-tables
70
71# By default gcc 4.8 generates dwarf4 which kernel unwinder can't grok69# By default gcc 4.8 generates dwarf4 which kernel unwinder can't grok
72ifeq ($(atleast_gcc48),y)70ifeq ($(atleast_gcc48),y)
73cflags-$(CONFIG_ARC_DW2_UNWIND) += -gdwarf-271cflags-$(CONFIG_ARC_DW2_UNWIND) += -gdwarf-2
arch/arc/kernel/stacktrace.c+1−1
@@ -142,7 +142,7 @@ arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, · 141 unmodified lines
142 * prelogue is setup (callee regs saved and then fp set and not other142 * prelogue is setup (callee regs saved and then fp set and not other
143 * way around143 * way around
144 */144 */
145 pr_warn("CONFIG_ARC_DW2_UNWIND needs to be enabled\n");145 pr_warn_once("CONFIG_ARC_DW2_UNWIND needs to be enabled\n");
146 return 0;146 return 0;
147 147
148#endif148#endif