PERFORCE change 124100 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Wed Jul 25 19:15:35 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=124100

Change 124100 by gonzo at gonzo_jeeves on 2007/07/25 19:14:34

	o Fix libc with softfloat build

Affected files ...

.. //depot/projects/mips2/src/lib/libc/mips/Makefile.inc#3 edit
.. //depot/projects/mips2/src/lib/libc/mips/softfloat/softfloat.h#2 edit

Differences ...

==== //depot/projects/mips2/src/lib/libc/mips/Makefile.inc#3 (text+ko) ====

@@ -1,4 +1,8 @@
 #	$NetBSD: Makefile.inc,v 1.7 2005/09/17 11:49:39 tsutsui Exp $
 
+SOFTFLOAT_BITS=32
+
+CFLAGS+=-DSOFTFLOAT
+
 MDSRCS+= machdep_ldisd.c
 SYM_MAPS+= ${.CURDIR}/mips/Symbol.map

==== //depot/projects/mips2/src/lib/libc/mips/softfloat/softfloat.h#2 (text+ko) ====

@@ -71,7 +71,9 @@
 Software IEC/IEEE floating-point underflow tininess-detection mode.
 -------------------------------------------------------------------------------
 */
+#ifndef SOFTFLOAT_FOR_GCC
 extern int float_detect_tininess;
+#endif
 enum {
     float_tininess_after_rounding  = 0,
     float_tininess_before_rounding = 1


More information about the p4-projects mailing list