Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
- Fix for default mtree style
- Update libelf
- Importing libexecinfo
- Resynchronize GCC, mpc, gmp, mpfr
- build.sh: Replace params with show-params.
This has been done as the make target has been renamed in the same
way, while a new target named params has been added. This new
target generates a file containing all the parameters, instead of
printing it on the console.
- Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
get getservbyport() out of the inner loop
Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: softfloat-specialize,v 1.7 2012/03/21 02:32:26 christos Exp $ */
|
||||
/* $NetBSD: softfloat-specialize,v 1.8 2013/01/10 08:16:10 matt Exp $ */
|
||||
|
||||
/* This is a derivative work. */
|
||||
|
||||
@@ -56,16 +56,28 @@ should be simply `float_exception_flags |= flags;'.
|
||||
-------------------------------------------------------------------------------
|
||||
*/
|
||||
#ifdef SOFTFLOAT_FOR_GCC
|
||||
#ifndef set_float_exception_mask
|
||||
#define float_exception_mask _softfloat_float_exception_mask
|
||||
#endif
|
||||
#endif
|
||||
#ifndef set_float_exception_mask
|
||||
fp_except float_exception_mask = 0;
|
||||
void float_raise( fp_except flags )
|
||||
#endif
|
||||
void
|
||||
float_raise( fp_except flags )
|
||||
{
|
||||
siginfo_t info;
|
||||
fp_except mask = float_exception_mask;
|
||||
|
||||
#ifdef set_float_exception_mask
|
||||
flags |= set_float_exception_flags(flags, 0);
|
||||
#else
|
||||
float_exception_flags |= flags;
|
||||
flags = float_exception_flags;
|
||||
#endif
|
||||
|
||||
if ( flags & float_exception_mask ) {
|
||||
flags &= mask;
|
||||
if ( flags ) {
|
||||
memset(&info, 0, sizeof info);
|
||||
info.si_signo = SIGFPE;
|
||||
info.si_pid = getpid();
|
||||
|
||||
Reference in New Issue
Block a user