Module Name: src Committed By: martin Date: Sun Mar 6 10:27:37 UTC 2011
Modified Files: src/lib/libc/softfloat: softfloat-specialize Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/softfloat/softfloat-specialize Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/softfloat/softfloat-specialize diff -u src/lib/libc/softfloat/softfloat-specialize:1.5 src/lib/libc/softfloat/softfloat-specialize:1.6 --- src/lib/libc/softfloat/softfloat-specialize:1.5 Fri Mar 4 11:48:58 2011 +++ src/lib/libc/softfloat/softfloat-specialize Sun Mar 6 10:27:37 2011 @@ -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 /* -------------------------------------------------------------------------------