opnsense-src/lib/libc/amd64/gen
David Schultz 64c2e46650 Two FP-related setjmp/longjmp changes:
1. Save and restore the control part of the MXCSR in addition to the
   i387 control word to ensure that the two are consistent.

   Note that standards don't require longjmp to restore either control
   word, and none of Linux, MacOS X 10.3 and earlier, NetBSD, OpenBSD,
   or Solaris do it. However, it is historical FreeBSD behavior, and
   bde points out that it is needed to make longjmping out of a signal
   handler work properly, given the way FreeBSD clobbers the FPU state
   on signal handler entry.

2. Don't clobber the FPU exception flags in longjmp. C99 requires them
   to remain unchanged.
2008-06-28 17:55:43 +00:00
..
_set_tp.c Add support for TLS in statically linked programs. 2004-08-15 16:18:52 +00:00
_setjmp.S Two FP-related setjmp/longjmp changes: 2008-06-28 17:55:43 +00:00
fabs.S
flt_rounds.c Make FLT_ROUNDS correctly reflect the dynamic rounding mode. 2004-07-19 08:17:25 +00:00
fpgetmask.c
fpgetprec.c
fpgetround.c
fpgetsticky.c
fpsetmask.c
fpsetprec.c
fpsetround.c
infinity.c
ldexp.c Remove silly n that crept in 2007-01-09 00:38:24 +00:00
makecontext.c 1. Use correct alignment mask, -15 != ~15 2004-07-31 01:41:41 +00:00
Makefile.inc Remove fpsetsticky(). This was added for SysV compatibility, but due 2005-03-15 15:53:39 +00:00
modf.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
rfork_thread.S
setjmp.S Two FP-related setjmp/longjmp changes: 2008-06-28 17:55:43 +00:00
signalcontext.c Set fpu context flags to known values, zero is illegal. 2004-07-28 13:08:24 +00:00
sigsetjmp.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00