Author: das
Date: Mon Jan 16 04:06:56 2012
New Revision: 230190
URL: http://svn.freebsd.org/changeset/base/230190

Log:
  Remove functions from softfloat's Symbol.map that don't need to be exported.
  Also use the proper number of underscores for internal names.  (Changing
  the names should be fine, since apparently the symbols are currently
  unused.)

Modified:
  head/lib/libc/softfloat/Symbol.map
  head/lib/libc/softfloat/softfloat-for-gcc.h

Modified: head/lib/libc/softfloat/Symbol.map
==============================================================================
--- head/lib/libc/softfloat/Symbol.map  Mon Jan 16 04:05:53 2012        
(r230189)
+++ head/lib/libc/softfloat/Symbol.map  Mon Jan 16 04:06:56 2012        
(r230190)
@@ -18,16 +18,10 @@ FBSD_1.0 {
 };
 
 FBSDprivate_1.0 {
-       _softfloat_float_exception_flags;
-       _softfloat_float_exception_mask;
-       _softfloat_float_rounding_mode;
-       _softfloat_float_raise;
-       _softfloat_float32_eq;
-       _softfloat_float32_le;
-       _softfloat_float32_lt;
-       _softfloat_float64_eq;
-       _softfloat_float64_le;
-       _softfloat_float64_lt;
+       __softfloat_float_exception_flags;
+       __softfloat_float_exception_mask;
+       __softfloat_float_rounding_mode;
+       __softfloat_float_raise;
        __eqdf2;
        __eqsf2;
        __gedf2;

Modified: head/lib/libc/softfloat/softfloat-for-gcc.h
==============================================================================
--- head/lib/libc/softfloat/softfloat-for-gcc.h Mon Jan 16 04:05:53 2012        
(r230189)
+++ head/lib/libc/softfloat/softfloat-for-gcc.h Mon Jan 16 04:06:56 2012        
(r230190)
@@ -5,17 +5,17 @@
  * Move private identifiers with external linkage into implementation
  * namespace.  -- Klaus Klein <kle...@netbsd.org>, May 5, 1999
  */
-#define float_exception_flags  _softfloat_float_exception_flags
-#define float_exception_mask   _softfloat_float_exception_mask
-#define float_rounding_mode    _softfloat_float_rounding_mode
-#define float_raise            _softfloat_float_raise
+#define float_exception_flags  __softfloat_float_exception_flags
+#define float_exception_mask   __softfloat_float_exception_mask
+#define float_rounding_mode    __softfloat_float_rounding_mode
+#define float_raise            __softfloat_float_raise
 /* The following batch are called by GCC through wrappers */
-#define float32_eq             _softfloat_float32_eq
-#define float32_le             _softfloat_float32_le
-#define float32_lt             _softfloat_float32_lt
-#define float64_eq             _softfloat_float64_eq
-#define float64_le             _softfloat_float64_le
-#define float64_lt             _softfloat_float64_lt
+#define float32_eq             __softfloat_float32_eq
+#define float32_le             __softfloat_float32_le
+#define float32_lt             __softfloat_float32_lt
+#define float64_eq             __softfloat_float64_eq
+#define float64_le             __softfloat_float64_le
+#define float64_lt             __softfloat_float64_lt
 
 /*
  * Macros to define functions with the GCC expected names
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to