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)
Unified · Split
| @@ -66,8 +66,6 @@ endif · 65 unmodified lines | ||
| 66 | 66 | |
| 67 | 67 | endif |
| 68 | 68 | |
| 69 | −cflags-$(CONFIG_ARC_DW2_UNWIND) += -fasynchronous-unwind-tables | |
| 70 | − | |
| 71 | 69 | # By default gcc 4.8 generates dwarf4 which kernel unwinder can't grok |
| 72 | 70 | ifeq ($(atleast_gcc48),y) |
| 73 | 71 | cflags-$(CONFIG_ARC_DW2_UNWIND) += -gdwarf-2 |
| @@ -142,7 +142,7 @@ arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, · 141 unmodified lines | ||
| 142 | 142 | * prelogue is setup (callee regs saved and then fp set and not other |
| 143 | 143 | * 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 | 146 | return 0; |
| 147 | 147 | |
| 148 | 148 | #endif |