linux/arch/sh
Matt Fleming f826466772 sh: Delete DWARF_ARCH_UNWIND_OFFSET
Trying to figure out the best value for DWARF_ARCH_UNWIND_OFFSET is
tricky at best. Various things can change the size (and offset from the
beginning of the function) of the prologue. Notably, turning on ftrace
adds calls to mcount at the beginning of functions, thereby pushing the
prologue further into the function.

So replace DWARF_ARCH_UNWIND_OFFSET with some code that continues to
execute CFA instructions until the value of return address register is
defined. This is safe to do because we know that the return address must
have been pushed onto the frame before our first function call; we just
can't figure out where at compile-time.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-08-14 05:00:21 +09:00
..
boards Merge branch 'sh/stable-updates' 2009-08-13 11:48:01 +09:00
boot sh: fix romImage mach dir usage 2009-08-07 03:58:38 +09:00
cchips sh: mach-hp6xx: Fix up the hp6xx build for hd64461 changes. 2009-05-20 11:27:13 +09:00
configs sh: kfr2r09 board support - mach-type and defconfig 2009-07-23 18:43:16 +09:00
drivers sh: pci: Initial PCI-Express support for SH7786 Urquell board. 2009-06-17 18:20:48 +09:00
include sh: Delete DWARF_ARCH_UNWIND_OFFSET 2009-08-14 05:00:21 +09:00
kernel sh: Delete DWARF_ARCH_UNWIND_OFFSET 2009-08-14 05:00:21 +09:00
lib sh: Fix up stack overflow check with ftrace disabled. 2009-07-11 21:06:53 +09:00
lib64 sh: Convert sh64 to use the generic checksum code. 2009-06-15 00:00:42 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: use printk_once 2009-08-13 11:48:08 +09:00
oprofile sh: Use the new stack unwinder API 2009-08-13 19:52:53 +09:00
tools sh: kfr2r09 board support - mach-type and defconfig 2009-07-23 18:43:16 +09:00
Kconfig sh: bzip2/lzma zImage support. 2009-07-11 13:21:19 -04:00
Kconfig.cpu sh: Tidy up SH-4A boot_cpu_data.flags probing. 2009-06-01 19:50:08 +09:00
Kconfig.debug sh: dwarf unwinder support. 2009-08-14 01:58:43 +09:00
Makefile sh: dwarf unwinder support. 2009-08-14 01:58:43 +09:00