Martin Cracauer a7674320e9 On FPU exceptions, pass a useful error code (one of the FPE_...
macros) to the signal handler, for old-style BSD signal handlers as
the second (int) argument, for SA_SIGINFO signal handlers as
siginfo_t->si_code. This is source-compatible with Solaris, except
that we have no <siginfo.h> (which isn't even mentioned in POSIX
1003.1b).

An rather complete example program is at
  http://www3.cons.org/cracauer/freebsd-signal.c
This will be added to the regression tests in src/.

This commit also adds code to disable the (hardware) FPU from
userconfig, so that you can use a software FP emulator on a machine
that has hardware floating point. See LINT.
1999-07-25 13:16:09 +00:00
..
1999-05-22 08:36:55 +00:00
1998-12-19 00:02:34 +00:00
1999-07-10 18:08:57 +00:00
1999-07-23 23:45:50 +00:00
1999-07-23 23:45:50 +00:00
1999-06-01 18:20:36 +00:00
1999-06-01 18:20:36 +00:00
1999-05-18 12:14:39 +00:00
1999-05-22 08:36:55 +00:00
1999-06-01 18:20:36 +00:00
1998-06-13 19:36:22 +00:00
1999-04-08 08:09:34 +00:00
1999-06-01 18:20:36 +00:00