aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-07-15 21:22:14 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-07-15 21:22:14 +0000
commitfb0671a8c248afc08b858cfe85e9035f5898e46b (patch)
tree23cc6e2efec85a40a38cd444af013dc8936dc96b /gcc/config
parent91f6762edfb311fc80e8c6953f02095dcbbfe888 (diff)
downloadgcc-fb0671a8c248afc08b858cfe85e9035f5898e46b.zip
gcc-fb0671a8c248afc08b858cfe85e9035f5898e46b.tar.gz
gcc-fb0671a8c248afc08b858cfe85e9035f5898e46b.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/darwin-fallback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/darwin-fallback.c b/gcc/config/rs6000/darwin-fallback.c
index 11a5e98..39243ad 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.