Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 23:11:24 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201852 - head/gnu/lib/libgcc
Message-ID:  <201001082311.o08NBOlN020664@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Jan  8 23:11:23 2010
New Revision: 201852
URL: http://svn.freebsd.org/changeset/base/201852

Log:
  Merge r195030 from project/mips into 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/gnu/lib/libgcc/Makefile

Modified: head/gnu/lib/libgcc/Makefile
==============================================================================
--- head/gnu/lib/libgcc/Makefile	Fri Jan  8 23:09:11 2010	(r201851)
+++ head/gnu/lib/libgcc/Makefile	Fri Jan  8 23:11:23 2010	(r201852)
@@ -115,6 +115,10 @@ LIB2FUNCS_EXTRA = floatunsidf.c floatuns
 #	_fixsfsi _fixunssfsi _floatdidf _floatdisf
 .endif
 
+.if ${TARGET_ARCH} == "mips"
+LIB2FUNCS_EXTRA = floatunsidf.c floatunsisf.c
+.endif
+
 .if ${TARGET_ARCH} == "ia64"
 #	from config/ia64/t-ia64
 LIB1ASMSRC   = lib1funcs.asm
@@ -179,7 +183,7 @@ OBJ_GRPS =	STD DIV
 #
 # Floating point emulation functions
 #
-.if ${TARGET_ARCH} == "armNOT_YET" || ${TARGET_ARCH} == "mips" || \
+.if ${TARGET_ARCH} == "armNOT_YET" || \
     ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "sparc64"
 
 FPBIT_CFLAGS =	-DFINE_GRAINED_LIBRARIES -DFLOAT



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