This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix handling of NULL context link in powerpc64makecontext
- From: Ryan Arnold <rsa at us dot ibm dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 01 Nov 2012 20:17:37 -0500
- Subject: Re: [PATCH] Fix handling of NULL context link in powerpc64makecontext
- References: <m2ehkewajv.fsf@igel.home>
- Reply-to: rsa at us dot ibm dot com
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