diff --git a/arch/ppc/startcontext.S b/arch/ppc/startcontext.S index a0deabb..a117b9c 100644 --- a/arch/ppc/startcontext.S +++ b/arch/ppc/startcontext.S @@ -14,8 +14,12 @@ __start_context: /* get the proper context into position and test for NULL */ mr. 3,31 - beq hosed + + /* if we have no linked context, lets get out of here */ + beq no_linked_context + + /* jump to setcontext */ bl __setcontext@local -hosed: +no_linked_context: b exit@GOT