mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-28 21:31:32 +08:00
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.
This commit is contained in:
parent
0143b277c9
commit
20462a14d8
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user