sh: Teach the DWARF unwinder about modules
authorMatt Fleming <matt@console-pimps.org>
Fri, 9 Oct 2009 22:20:54 +0000 (23:20 +0100)
committerMatt Fleming <matt@console-pimps.org>
Sun, 11 Oct 2009 15:41:44 +0000 (16:41 +0100)
commita6a2f2ad67506090e332f440457553c0ec011d68
treecfe974784b68cc3c09ed76e449a31d536b2b4589
parentc153a58e715e16ffcd6c4b3da7fc6b4a556bf917
sh: Teach the DWARF unwinder about modules

Pass a module's .eh_frame section to the DWARF unwinder at module load
time so that the section's FDEs and CIEs can be registered with the
DWARF unwinder. This allows us to unwind the stack through module code
when generating backtraces.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
arch/sh/include/asm/dwarf.h
arch/sh/kernel/dwarf.c
arch/sh/kernel/module.c