MIPS: Add DWARF unwinding to assembly
This will allow kdump dumps to work correclty with MIPS and future DWARF unwinding of the stack to give accurate tracebacks. Signed-off-by: Corey Minyard <cminyard@mvista.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/16990/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:

committed by
Ralf Baechle

parent
9fef686863
commit
866b6a89c6
@@ -19,31 +19,21 @@
|
||||
.cfi_sections .debug_frame
|
||||
|
||||
LEAF(__vdso_rt_sigreturn)
|
||||
.cfi_startproc
|
||||
.frame sp, 0, ra
|
||||
.mask 0x00000000, 0
|
||||
.fmask 0x00000000, 0
|
||||
.cfi_signal_frame
|
||||
|
||||
li v0, __NR_rt_sigreturn
|
||||
syscall
|
||||
|
||||
.cfi_endproc
|
||||
END(__vdso_rt_sigreturn)
|
||||
|
||||
#if _MIPS_SIM == _MIPS_SIM_ABI32
|
||||
|
||||
LEAF(__vdso_sigreturn)
|
||||
.cfi_startproc
|
||||
.frame sp, 0, ra
|
||||
.mask 0x00000000, 0
|
||||
.fmask 0x00000000, 0
|
||||
.cfi_signal_frame
|
||||
|
||||
li v0, __NR_sigreturn
|
||||
syscall
|
||||
|
||||
.cfi_endproc
|
||||
END(__vdso_sigreturn)
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user