aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-07-15 21:22:14 +0000
committerGeoffrey Keating <geoffk@apple.com>2007-07-15 21:22:14 +0000
commitcb8ff56140e062c73876ce041021bf343ce31522 (patch)
tree23cc6e2efec85a40a38cd444af013dc8936dc96b
parent3dd17f21e5fa07197cda1981b453f10de9077c5e (diff)
* config/rs6000/darwin-fallback.c (interpret_libc): Change
CR2_REGNO to R_CR2. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126661 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/darwin-fallback.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e58f4dffd7d..9a76f727b54 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/darwin-fallback.c b/gcc/config/rs6000/darwin-fallback.c
index 11a5e980164..39243ad7c43 100644
--- a/gcc/config/rs6000/darwin-fallback.c
+++ b/gcc/config/rs6000/darwin-fallback.c
@@ -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.