Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2008 14:13:34 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        David Schultz <das@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans <brde@optusnet.com.au>
Subject:   Re: cvs commit: src/lib/libc/i386/gen _setjmp.S setjmp.S
Message-ID:  <20080629140956.G92769@delplex.bde.org>
In-Reply-To: <20080629022323.GA39584@zim.MIT.EDU>
References:  <200806281758.m5SHwIl2083857@repoman.freebsd.org> <20080628180230.GA37313@zim.MIT.EDU> <20080629110524.W92369@delplex.bde.org> <20080629022323.GA39584@zim.MIT.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Jun 2008, David Schultz wrote:

> On Sun, Jun 29, 2008, Bruce Evans wrote:
>> On Sat, 28 Jun 2008, David Schultz wrote:
>>> Don't clobber the FPU exception flags in longjmp.  C99 requires them
>>> to remain unchanged.
>>>
>>> ...but got cut off somehow.
>>
>> This is wrong.  It breaks longjmp() from all COMPAT_[3-4] signal
>> handlers (not just ones for SIGFPE).  I don't like the corresponding
>> change for amd64 either, and only approved it since amd64 doesn't
>> support COMPAT_[3-4] signal handlers.
>
> How is it possible for an application linked against an 8.X libc,
> and which is doing anything even remotely close to reasonable,
> to get COMPAT_3 or COMPAT_4 signal behavior?

Nevermind.  I forgot the layering.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080629140956.G92769>