]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgcc/config/mips/linux-unwind.h
libgcc: Decrease size of _Unwind_FrameState and even more size of cleared area in...
[thirdparty/gcc.git] / libgcc / config / mips / linux-unwind.h
index e113f52aee9341bd77776575831761a2b9b13a84..80e6e77952eedb985a89fb84dd24ecf5acfd4882 100644 (file)
@@ -103,7 +103,7 @@ mips_fallback_frame_state (struct _Unwind_Context *context,
 #endif
 
   for (i = 0; i < 32; i++) {
-    fs->regs.reg[i].how = REG_SAVED_OFFSET;
+    fs->regs.how[i] = REG_SAVED_OFFSET;
     fs->regs.reg[i].loc.offset
       = (_Unwind_Ptr)&(sc->sc_regs[i]) + reg_offset - new_cfa;
   }
@@ -115,7 +115,7 @@ mips_fallback_frame_state (struct _Unwind_Context *context,
      Note that setting fs->signal_frame would not work.  As the comment
      above MASK_RETURN_ADDR explains, MIPS unwinders must earch for an
      odd-valued address.  */
-  fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].how
+  fs->regs.how[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__]
     = REG_SAVED_VAL_OFFSET;
   fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].loc.offset
     = (_Unwind_Ptr)(sc->sc_pc) + 2 - new_cfa;