aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-10-07 00:16:11 +0200
committerJakub Jelinek <jakub@redhat.com>2022-10-07 00:16:11 +0200
commit20462a14d8c0efdb31385c89b15523d1ee85e9b5 (patch)
tree305ead231e1e0edb5e7bc43847c37e99083767a6 /libgcc
parent0143b277c9b17215ab3d4b361e1aef431799e813 (diff)
libgcc, arc: Fix build
Missed one spot in the r13-3108-g146e45914032 change (my sed script didn't expect nested []s). 2022-10-07 Jakub Jelinek <jakub@redhat.com> * config/arc/linux-unwind.h (arc_fallback_frame_state): Use fs->regs.how[X] instead of fs->regs.reg[X].how.
Diffstat (limited to 'libgcc')
-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 231971a7ccc..b3f2dde5476 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;
}