Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/sh5/sh5



Module Name:    src
Committed By:   scw
Date:           Tue Aug 12 13:50:24 UTC 2003

Modified Files:
        src/sys/arch/sh5/sh5: trap.c

Log Message:
An FPUEXC leaves the PC pointing to the FP instruction
which caused the exception. To avoid an endless loop if
the user is ignoring or catching SIGFPE, adjust the saved
PC to skip over the offending instruction.

XXX: It's not clear that this is the correct behaviour,
XXX: but it's the only way to make sh5 pass the IEEEFP
XXX: regression tests in regress/lib/libc/ieeefp/except.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 src/sys/arch/sh5/sh5/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index