diff options
| author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-22 06:33:19 -0500 |
|---|---|---|
| committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 12:46:03 -0500 |
| commit | 854a0d95056c265d96cb449bc97bc5ef9bbed835 (patch) | |
| tree | 798c834ae188bd570b861a47765fce8ed633f85a /arch/arc/kernel/Makefile | |
| parent | 41195d236e84458bebd4fdc218610a92231ac791 (diff) | |
ARC: DWARF2 .debug_frame based stack unwinder
-Originally written by Rajeshwar Ranga
-Derived off of generic unwinder in 2.6.19 and adapted to ARC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Rajeshwar Ranga <rajeshwar.ranga@gmail.com>
Diffstat (limited to 'arch/arc/kernel/Makefile')
| -rw-r--r-- | arch/arc/kernel/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arc/kernel/Makefile b/arch/arc/kernel/Makefile index 46c15ff97e97..38e4715f3349 100644 --- a/arch/arc/kernel/Makefile +++ b/arch/arc/kernel/Makefile | |||
| @@ -14,10 +14,16 @@ obj-y += devtree.o | |||
| 14 | 14 | ||
| 15 | obj-$(CONFIG_MODULES) += arcksyms.o module.o | 15 | obj-$(CONFIG_MODULES) += arcksyms.o module.o |
| 16 | obj-$(CONFIG_SMP) += smp.o | 16 | obj-$(CONFIG_SMP) += smp.o |
| 17 | obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o | ||
| 17 | 18 | ||
| 18 | obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o | 19 | obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o |
| 19 | CFLAGS_fpu.o += -mdpfp | 20 | CFLAGS_fpu.o += -mdpfp |
| 20 | 21 | ||
| 22 | ifdef CONFIG_ARC_DW2_UNWIND | ||
| 23 | CFLAGS_ctx_sw.o += -fno-omit-frame-pointer | ||
| 24 | obj-y += ctx_sw.o | ||
| 25 | else | ||
| 21 | obj-y += ctx_sw_asm.o | 26 | obj-y += ctx_sw_asm.o |
| 27 | endif | ||
| 22 | 28 | ||
| 23 | extra-y := vmlinux.lds head.o | 29 | extra-y := vmlinux.lds head.o |
