Skip to content
Commit 180aa6e6 authored by Matt Fleming's avatar Matt Fleming Committed by Paul Mundt
Browse files

sh: Set the cfa_offset to 0 if we see a DW_CFA_def_cfa_register op



The way that the CFA is calculated can change as we progress through a
function. If we see a DW_CFA_def_cfa_register op we need to reset the
frame's cfa_offset value which may have been previously setup.

Signed-off-by: default avatarMatt Fleming <matt@console-pimps.org>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 7dd6662a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment