svn commit: r201859 - in head/lib/libc: . mips

Warner Losh imp at FreeBSD.org
Sat Jan 9 00:01:35 UTC 2010


Author: imp
Date: Sat Jan  9 00:01:35 2010
New Revision: 201859
URL: http://svn.freebsd.org/changeset/base/201859

Log:
  Merge r195030 from project/mips to head by hand
  
  r195030 | gonzo | 2009-06-25 19:27:31 -0600 (Thu, 25 Jun 2009) | 4 lines
  - Switch to libc softfloat from libgcc implementation. The problem
      with latter is that it is not complete, fpsetXXX/fpgetXXX
      functions are missing.

Modified:
  head/lib/libc/Makefile
  head/lib/libc/mips/Symbol.map

Modified: head/lib/libc/Makefile
==============================================================================
--- head/lib/libc/Makefile	Fri Jan  8 23:59:04 2010	(r201858)
+++ head/lib/libc/Makefile	Sat Jan  9 00:01:35 2010	(r201859)
@@ -64,7 +64,7 @@ NOASM=
 .include "${.CURDIR}/rpc/Makefile.inc"
 .include "${.CURDIR}/uuid/Makefile.inc"
 .include "${.CURDIR}/xdr/Makefile.inc"
-.if ${MACHINE_ARCH} == "arm"
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mips"
 .include "${.CURDIR}/softfloat/Makefile.inc"
 .endif
 .if ${MK_NIS} != "no"

Modified: head/lib/libc/mips/Symbol.map
==============================================================================
--- head/lib/libc/mips/Symbol.map	Fri Jan  8 23:59:04 2010	(r201858)
+++ head/lib/libc/mips/Symbol.map	Sat Jan  9 00:01:35 2010	(r201859)
@@ -61,4 +61,22 @@ FBSDprivate_1.0 {
 	minbrk;
 	_brk;
 	_sbrk;
+
+	/* softfloat */
+	__addsf3;
+	__adddf3;
+	__subsf3;
+	__subdf3;
+	__mulsf3;
+	__muldf3;
+	__divsf3;
+	__divdf3;
+	__floatsisf;
+	__floatsidf;
+	__fixsfsi;
+	__fixdfsi;
+	__fixunssfsi;
+	__fixunsdfsi;
+	__extendsfdf2;
+	__truncdfsf2;
 };


More information about the svn-src-all mailing list