[PATCH] Fix handling of NULL context link in powerpc64 makecontext

Ryan Arnold rsa@us.ibm.com
Fri Nov 2 01:17:00 GMT 2012


On Wed, 2012-10-31 at 23:17 +0100, Andreas Schwab wrote:
> If the function registered with makecontext returns with a NULL context
> link the process should exit with zero, not non-zero.
> 
> Andreas.
> 
> 	* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
> 	function returns with a NULL context exit with zero.

Pushed upstream with the following commit after verifying that it fixes
the makecontext make check failure.

commit d6cffd3ec0b21914424d7e6e6b4c688f3b8b3fcd
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Thu Nov 1 20:10:39 2012 -0500

    PowerPC: Fix uc_link == NULL handling for makecontex.
    
    If the function registered with makecontext returns with a NULL context
    link the process should exit with zero, not non-zero.

Thanks Andreas!

Ryan S. Arnold



More information about the Libc-alpha mailing list