unwind-ia64.c (alloc_spill_area): Fix offset.
* config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset. (desc_frgr_mem): Fix reference to f16-f31. From-SVN: r51679
This commit is contained in:
parent
d875078437
commit
1d9ad0e01a
@ -1,3 +1,8 @@
|
||||
2002-03-31 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
|
||||
(desc_frgr_mem): Fix reference to f16-f31.
|
||||
|
||||
2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
|
||||
|
@ -342,8 +342,8 @@ alloc_spill_area (unsigned long *offp, unsigned long regsize,
|
||||
if (reg->where == UNW_WHERE_SPILL_HOME)
|
||||
{
|
||||
reg->where = UNW_WHERE_PSPREL;
|
||||
reg->val = 0x10 - *offp;
|
||||
*offp += regsize;
|
||||
*offp -= regsize;
|
||||
reg->val = *offp;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -541,7 +541,8 @@ desc_frgr_mem (unsigned char grmask, unw_word frmask,
|
||||
{
|
||||
if ((frmask & 1) != 0)
|
||||
{
|
||||
set_reg (sr->curr.reg + UNW_REG_F2 + i, UNW_WHERE_SPILL_HOME,
|
||||
enum unw_register_index base = i < 4 ? UNW_REG_F2 : UNW_REG_F16 - 4;
|
||||
set_reg (sr->curr.reg + base + i, UNW_WHERE_SPILL_HOME,
|
||||
sr->region_start + sr->region_len - 1, 0);
|
||||
sr->any_spills = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user