File nvl440482.patch of Package gcc43
This patch fixes all the failures (except one) in the libjava testsuite
for ppc64.
Andreas.
2008-12-05 Andreas Schwab <schwab@suse.de>
* config/rs6000/linux-unwind.h (frob_update_context): Check for
NULL lr.
Index: gcc/config/rs6000/linux-unwind.h
===================================================================
--- gcc/config/rs6000/linux-unwind.h (revision 142469)
+++ gcc/config/rs6000/linux-unwind.h (working copy)
@@ -361,7 +361,7 @@ frob_update_context (struct _Unwind_Cont
we have no good way to determine at compile time what to do. */
unsigned int *insn
= (unsigned int *) _Unwind_GetGR (context, R_LR);
- if (*insn == 0xE8410028)
+ if (insn && *insn == 0xE8410028)
_Unwind_SetGRPtr (context, 2, context->cfa + 40);
}
#endif