Module Name:    src
Committed By:   matt
Date:           Sat Sep  5 03:51:16 UTC 2009

Modified Files:
        src/gnu/lib/libgcc4 [matt-nb5-mips64]: Makefile.inc

Log Message:
If MKSOFTFLOAT == yes, don't include the libgcc float to unsigned functions
since they are already in libc.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.10.1 src/gnu/lib/libgcc4/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/lib/libgcc4/Makefile.inc
diff -u src/gnu/lib/libgcc4/Makefile.inc:1.13 src/gnu/lib/libgcc4/Makefile.inc:1.13.10.1
--- src/gnu/lib/libgcc4/Makefile.inc:1.13	Thu Sep 18 12:20:19 2008
+++ src/gnu/lib/libgcc4/Makefile.inc	Sat Sep  5 03:51:16 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.13 2008/09/18 12:20:19 skrll Exp $
+#	$NetBSD: Makefile.inc,v 1.13.10.1 2009/09/05 03:51:16 matt Exp $
 
 .if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk) && ${MKGCC} != "no"
 .include "${.CURDIR}/../arch/${MACHINE_ARCH}.mk"
@@ -18,7 +18,7 @@
 
 # This is copied from gcc/mklibgcc.in:$lib2funcs
 LIB2FUNCS_ALL=	_muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 \
-        _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi \
+        _cmpdi2 _ucmpdi2 _floatdidf _floatdisf \
         _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi \
         _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf _clear_cache \
         _enable_execute_stack _trampoline __main _absvsi2 _absvdi2 _addvsi3 \
@@ -27,6 +27,10 @@
         _popcountsi2 _popcountdi2 _paritysi2 _paritydi2 _powisf2 _powidf2 \
         _powixf2 _powitf2 \
 
+.if ${MKSOFTFLOAT} == "no"
+LIB2FUNCS_ALL+=	_fixunssfsi _fixunsdfsi
+.endif
+
 .if ${MACHINE_ARCH} != "vax"
 LIB2FUNCS_ALL+=	\
 	_mulsc3 _muldc3 _mulxc3 _multc3 _divsc3 _divdc3 _divxc3 _divtc3

Reply via email to