Re: swapcontext rewrite broke some software

From: David Xu <davidxu_at_freebsd.org>
Date: Thu, 18 Apr 2013 15:50:09 +0800
On 2013/04/16 21:24, Oliver Pinter wrote:
> Hi!
>
> After this commit:
>
> commit ac0cfc7fcb1b51ee6aeacfd676fa6dfbe11eefb5
> Author: davidxu <davidxu_at_FreeBSD.org>
> Date:   Wed Apr 10 02:40:03 2013 +0000
>
>      swapcontext wrapper can not be implemented in C, the stack pointer saved in
>      the context becomes invalid when the function returns, same as setjmp,
>      it must be implemented in assemble language, see discussions in PR
>      misc/177624.
>
> Some* software not found the swapcontext functions after this commit.
> Please add a sentence to UPDATING file and/or bump the
> __FreeBSD_version to reflect this change.
>
>
> * qemu
>

Hi,

The change is reverted.

Regards,
David Xu
Received on Thu Apr 18 2013 - 05:49:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC