Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/softfloat Apply local namespace protection equivale...
details: https://anonhg.NetBSD.org/src/rev/d3f2c7de9910
branches: trunk
changeset: 762941:d3f2c7de9910
user: martin <martin%NetBSD.org@localhost>
date: Sun Mar 06 10:27:37 2011 +0000
description:
Apply local namespace protection equivalent to the weak alias done
in softfloat-for-gcc.h, which we can't include here, to move
"float_exception_mask" into implementation namespace.
diffstat:
lib/libc/softfloat/softfloat-specialize | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 19e515903204 -r d3f2c7de9910 lib/libc/softfloat/softfloat-specialize
--- a/lib/libc/softfloat/softfloat-specialize Sun Mar 06 08:28:10 2011 +0000
+++ b/lib/libc/softfloat/softfloat-specialize Sun Mar 06 10:27:37 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: softfloat-specialize,v 1.5 2011/03/04 11:48:58 martin Exp $ */
+/* $NetBSD: softfloat-specialize,v 1.6 2011/03/06 10:27:37 martin Exp $ */
/* This is a derivative work. */
@@ -55,6 +55,9 @@
should be simply `float_exception_flags |= flags;'.
-------------------------------------------------------------------------------
*/
+#ifdef SOFTFLOAT_FOR_GCC
+#define float_exception_mask _softfloat_float_exception_mask
+#endif
fp_except float_exception_mask = 0;
void float_raise( fp_except flags )
{
@@ -80,6 +83,7 @@
sigqueueinfo(getpid(), &info);
}
}
+#undef float_exception_mask
/*
-------------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index