Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2012 04:06:57 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230190 - head/lib/libc/softfloat
Message-ID:  <201201160406.q0G46vK8014647@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <kleink@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201160406.q0G46vK8014647>