cvs commit: src/lib/libc/i386/gen _setjmp.S setjmp.S

Bruce Evans brde at optusnet.com.au
Sun Jun 29 04:13:39 UTC 2008


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


More information about the cvs-src mailing list