summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-01-08 23:11:23 +0000
committerimp <imp@FreeBSD.org>2010-01-08 23:11:23 +0000
commitb3ad93c0ea779c5098430c134dc651f9c2bae52f (patch)
tree9977d87ba3169da17ff823ecaef14513a09e572b /gnu
parent2069f58f7b1afb4d561bd8cf302dce06e043e574 (diff)
downloadFreeBSD-src-b3ad93c0ea779c5098430c134dc651f9c2bae52f.zip
FreeBSD-src-b3ad93c0ea779c5098430c134dc651f9c2bae52f.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgcc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index cb2a629..51e7630 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -115,6 +115,10 @@ LIB2FUNCS_EXTRA = floatunsidf.c floatunsisf.c
# _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
OpenPOWER on IntegriCloud