diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-08-13 18:58:43 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-13 18:58:43 +0200 |
commit | bd353861c735b2265c9d8b2559960c693e7c68ab (patch) | |
tree | 2cd13808cb4d50b6b4d63eff0d7ad5fa6d19f04d /arch/sh/kernel/vmlinux.lds.S | |
parent | sh: Use the new stack unwinder API (diff) | |
download | linux-bd353861c735b2265c9d8b2559960c693e7c68ab.tar.xz linux-bd353861c735b2265c9d8b2559960c693e7c68ab.zip |
sh: dwarf unwinder support.
This is a first cut at a generic DWARF unwinder for the kernel. It's
still lacking DWARF64 support and the DWARF expression support hasn't
been tested very well but it is generating proper stacktraces on SH for
WARN_ON() and NULL dereferences.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index 80dc9f8d9412..1b7d9d541e01 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S @@ -12,7 +12,7 @@ OUTPUT_ARCH(sh) #include <asm/thread_info.h> #include <asm/cache.h> -#include <asm-generic/vmlinux.lds.h> +#include <asm/vmlinux.lds.h> ENTRY(_start) SECTIONS @@ -70,6 +70,8 @@ SECTIONS _edata = .; /* End of data section */ + DWARF_EH_FRAME + . = ALIGN(PAGE_SIZE); /* Init code and data */ __init_begin = .; INIT_TEXT_SECTION(PAGE_SIZE) |