aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2006-10-26 19:31:09 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2006-10-26 19:31:09 +0000
commit6673f90bc62ce2d5b8e59a987310b0bd621f797d (patch)
tree8ed7134cd00f1eff920b22fc52f01f1b88f67c3c /gcc/config/mips
parent4bab2b2301d6fd898ab09a02f6f2cada3638cb18 (diff)
downloadgcc-6673f90bc62ce2d5b8e59a987310b0bd621f797d.zip
gcc-6673f90bc62ce2d5b8e59a987310b0bd621f797d.tar.gz
gcc-6673f90bc62ce2d5b8e59a987310b0bd621f797d.tar.bz2
unwind-dw2.h: Move cfa-related variables into struct frame_state_reg_info to ensure that the...
* gcc/unwind-dw2.h: Move cfa-related variables into struct frame_state_reg_info to ensure that the CFA is properly handled when executing DW_CFA_{remember,restore}_state. * gcc/unwind-dw2.c, gcc/config/alpha/linux-unwind.h, gcc/config/alpha/vms-unwind.h, gcc/config/s390/tpf-unwind.h gcc/config/s390/linux-unwind.h, gcc/config/sparc/linux-unwind.h gcc/config/i386/linux-unwind.h, gcc/config/sh/linux-unwind.h gcc/config/rs6000/linux-unwind.h, gcc/config/rs6000/darwin-fallback.c, gcc/config/pa/linux-unwind.h, gcc/config/pa/hpux-unwind.h, gcc/config/mips/linux-unwind.h: Modify to use new cfa_* fields. From-SVN: r118068
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/linux-unwind.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/mips/linux-unwind.h b/gcc/config/mips/linux-unwind.h
index 4f96e95..bbb2445 100644
--- a/gcc/config/mips/linux-unwind.h
+++ b/gcc/config/mips/linux-unwind.h
@@ -86,9 +86,9 @@ mips_fallback_frame_state (struct _Unwind_Context *context,
return _URC_END_OF_STACK;
new_cfa = (_Unwind_Ptr)sc;
- fs->cfa_how = CFA_REG_OFFSET;
- fs->cfa_reg = STACK_POINTER_REGNUM;
- fs->cfa_offset = new_cfa - (_Unwind_Ptr) context->cfa;
+ fs->regs.cfa_how = CFA_REG_OFFSET;
+ fs->regs.cfa_reg = STACK_POINTER_REGNUM;
+ fs->regs.cfa_offset = new_cfa - (_Unwind_Ptr) context->cfa;
#if _MIPS_SIM == _ABIO32 && defined __MIPSEB__
/* On o32 Linux, the register save slots in the sigcontext are