linux-unwind.h (ppc_fallback_frame_state): Correct typo for AltiVec.
authorDaniel Jacobowitz <dan@codesourcery.com>
Tue, 4 Sep 2007 12:57:59 +0000 (12:57 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Tue, 4 Sep 2007 12:57:59 +0000 (12:57 +0000)
* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
typo for AltiVec.

From-SVN: r128078

gcc/ChangeLog
gcc/config/rs6000/linux-unwind.h

index 1abb3fe..530f542 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
+       typo for AltiVec.
+
 2007-09-04  Revital Eres  <eres@il.ibm.com>
            Richard Guenther  <rguenther@suse.de>
            R. Clint Whaley  <whaley@cs.utsa.edu>
index 18b0faa..f3d76c0 100644 (file)
@@ -296,7 +296,7 @@ ppc_fallback_frame_state (struct _Unwind_Context *context,
            {
              fs->regs.reg[i + R_VR0].how = REG_SAVED_OFFSET;
              fs->regs.reg[i + R_VR0].loc.offset
-               = (long) &vregs[i] - new_cfa;
+               = (long) &vregs->vr[i] - new_cfa;
            }
 
          fs->regs.reg[R_VSCR].how = REG_SAVED_OFFSET;