diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-10-07 00:16:11 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-10-07 00:16:11 +0200 |
commit | 20462a14d8c0efdb31385c89b15523d1ee85e9b5 (patch) | |
tree | 305ead231e1e0edb5e7bc43847c37e99083767a6 /libgcc | |
parent | 0143b277c9b17215ab3d4b361e1aef431799e813 (diff) | |
download | gcc-20462a14d8c0efdb31385c89b15523d1ee85e9b5.zip gcc-20462a14d8c0efdb31385c89b15523d1ee85e9b5.tar.gz gcc-20462a14d8c0efdb31385c89b15523d1ee85e9b5.tar.bz2 |
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.h | 2 |
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; } |