* config/mips/linux-unwind.h (mips_fallback_frame_state): Adjust
offsets for the big-endian 32-bit case.
From-SVN: r94888
+2005-02-11 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * config/mips/linux-unwind.h (mips_fallback_frame_state): Adjust
+ offsets for the big-endian 32-bit case.
+
2005-02-11 Joseph S. Myers <joseph@codesourcery.com>
* config/ia64/hpux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
fs->cfa_reg = STACK_POINTER_REGNUM;
fs->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
+ eight bytes. We need the lower half of each register slot,
+ so slide our view of the structure back four bytes. */
+ new_cfa -= 4;
+#endif
+
for (i = 0; i < 32; i++) {
fs->regs.reg[i].how = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset