darwin-fallback.c (interpret_libc): Change CR2_REGNO to R_CR2.

* config/rs6000/darwin-fallback.c (interpret_libc): Change
	CR2_REGNO to R_CR2.

From-SVN: r126661
This commit is contained in:
Geoffrey Keating 2007-07-15 21:22:14 +00:00 committed by Geoffrey Keating
parent 91f6762edf
commit fb0671a8c2
2 changed files with 6 additions and 1 deletions

View 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

View 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.