aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgcc/config/arc/linux-unwind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/arc/linux-unwind.h b/libgcc/config/arc/linux-unwind.h
index 231971a..b3f2dde 100644
--- a/libgcc/config/arc/linux-unwind.h
+++ b/libgcc/config/arc/linux-unwind.h
@@ -115,7 +115,7 @@ arc_fallback_frame_state (struct _Unwind_Context *context,
{
if (register_id_for_index[i] == -1)
continue;
- fs->regs.reg[register_id_for_index[i]].how = REG_SAVED_OFFSET;
+ fs->regs.how[register_id_for_index[i]] = REG_SAVED_OFFSET;
fs->regs.reg[register_id_for_index[i]].loc.offset
= ((_Unwind_Ptr) &(regs[i])) - new_cfa;
}