mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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:
parent
9fef686863
commit
866b6a89c6
6 changed files with 151 additions and 117 deletions
|
@ -55,6 +55,7 @@
|
|||
.type symbol, @function; \
|
||||
.ent symbol, 0; \
|
||||
symbol: .frame sp, 0, ra; \
|
||||
.cfi_startproc; \
|
||||
.insn
|
||||
|
||||
/*
|
||||
|
@ -66,12 +67,14 @@ symbol: .frame sp, 0, ra; \
|
|||
.type symbol, @function; \
|
||||
.ent symbol, 0; \
|
||||
symbol: .frame sp, framesize, rpc; \
|
||||
.cfi_startproc; \
|
||||
.insn
|
||||
|
||||
/*
|
||||
* END - mark end of function
|
||||
*/
|
||||
#define END(function) \
|
||||
.cfi_endproc; \
|
||||
.end function; \
|
||||
.size function, .-function
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue