darwin-fallback.c (interpret_libc): Change CR2_REGNO to R_CR2.
authorGeoffrey Keating <geoffk@apple.com>
Sun, 15 Jul 2007 21:22:14 +0000 (21:22 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sun, 15 Jul 2007 21:22:14 +0000 (21:22 +0000)
* config/rs6000/darwin-fallback.c (interpret_libc): Change
CR2_REGNO to R_CR2.

From-SVN: r126661

gcc/ChangeLog
gcc/config/rs6000/darwin-fallback.c

index e58f4dffd7d192d6d2352f3de1fed6a7a198055d..9a76f727b54abe0655f609b91b63bb651218284c 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-15  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/darwin-fallback.c (interpret_libc): Change
+       CR2_REGNO to R_CR2.
+
 2007-07-15  Andrew Haley  <aph@redhat.com>
 
        * unwind-sjlj.c (_Unwind_GetIPInfo): Check for context->fc != NULL
index 11a5e9801645cfd602cd243a46d529fb6b1608d7..39243ad7c433c0c526e07c8af1a38ebf47fe69aa 100644 (file)
@@ -72,7 +72,7 @@ interpret_libc (reg_unit gprs[32], struct _Unwind_Context *context)
   gprs[1] = _Unwind_GetCFA (context);
   for (; i < 32; i++)
     gprs[i] = _Unwind_GetGR (context, i);
-  cr = _Unwind_GetGR (context, CR2_REGNO);
+  cr = _Unwind_GetGR (context, R_CR2);
 
   /* For each supported Libc, we have to track the code flow
      all the way back into the kernel.