mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
linux-unwind.h (sh_fallback_frame_state): Use correct index when setting register save state for xd registers.
* config/sh/linux-unwind.h (sh_fallback_frame_state): Use correct index when setting register save state for xd registers. From-SVN: r126612
This commit is contained in:
parent
e27a1019c5
commit
192c543cd4
@ -1,3 +1,9 @@
|
||||
2007-07-13 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* config/sh/linux-unwind.h (sh_fallback_frame_state): Use
|
||||
correct index when setting register save state for xd
|
||||
registers.
|
||||
|
||||
2007-07-13 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* config/sh/sh.c (mark_use): Remove.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* DWARF2 EH unwinding support for SH Linux.
|
||||
Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GCC.
|
||||
|
||||
@ -230,8 +230,8 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
|
||||
r = SH_DWARF_FRAME_XD0;
|
||||
for (i = 0; i < 8; i++)
|
||||
{
|
||||
fs->regs.reg[i].how = REG_SAVED_OFFSET;
|
||||
fs->regs.reg[i].loc.offset
|
||||
fs->regs.reg[r+i].how = REG_SAVED_OFFSET;
|
||||
fs->regs.reg[r+i].loc.offset
|
||||
= (long)&(sc->sc_xfpregs[2*i]) - new_cfa;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user