svn commit: r230188 - head/lib/libc/arm

David Schultz das at FreeBSD.org
Mon Jan 16 04:04:35 UTC 2012


Author: das
Date: Mon Jan 16 04:04:35 2012
New Revision: 230188
URL: http://svn.freebsd.org/changeset/base/230188

Log:
  Correct some bugs that resulted from arm/_fpmath.h being blindly copied
  from the x86 version, which has a completely different long double
  format.
  
  Submitted by:	Maks Verver

Modified:
  head/lib/libc/arm/_fpmath.h

Modified: head/lib/libc/arm/_fpmath.h
==============================================================================
--- head/lib/libc/arm/_fpmath.h	Mon Jan 16 04:00:32 2012	(r230187)
+++ head/lib/libc/arm/_fpmath.h	Mon Jan 16 04:04:35 2012	(r230188)
@@ -55,9 +55,10 @@ union IEEEl2bits {
 };
 
 #define	LDBL_NBIT	0
+#define	LDBL_IMPLICIT_NBIT
 #define	mask_nbit_l(u)	((void)0)
 
-#define	LDBL_MANH_SIZE	32
+#define	LDBL_MANH_SIZE	20
 #define	LDBL_MANL_SIZE	32
 
 #define	LDBL_TO_ARRAY32(u, a) do {			\


More information about the svn-src-all mailing list