sh: Setup the frame register in asm code
authorMatt Fleming <matt@console-pimps.org>
Sun, 2 Aug 2009 21:33:26 +0000 (22:33 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 13 Aug 2009 16:59:55 +0000 (01:59 +0900)
commit0b930489b8606224b829c8a6037eac24249a97ec
tree058920e2d468999df15f83824753da8a2406a2dd
parentbd353861c735b2265c9d8b2559960c693e7c68ab
sh: Setup the frame register in asm code

In order to use DWARF unwinder info the frame register has to contain a
valid value. Whilst GCC takes care of this for C code, we have to do it
ourselves for assembly.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/entry-macros.S
arch/sh/kernel/cpu/sh3/entry.S
arch/sh/kernel/entry-common.S