[Patch] / 0 should send SIGFPE not SIGTRAP...
David Daney
ddaney@avtrex.com
Fri Jun 11 20:52:00 GMT 2004
Maciej W. Rozycki wrote:
>On Fri, 11 Jun 2004 cgd@broadcom.com wrote:
>
>
>>Unfortunately, at this point, Linux should probably accept the
>>divide-by-zero code in both locations.
>>
>>
>
> I think that's not a big trouble for Linux -- the path is rare and not
>critical for performance.
>
>
>
How about the attached (lightly tested) patch?
David Daney.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: traps.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20040611/8bb2208d/attachment.ksh>
More information about the Binutils
mailing list