svn commit: r237023 - stable/9/lib/libc/arm

Alexander Motin mav at FreeBSD.org
Wed Jun 13 20:31:30 UTC 2012


Author: mav
Date: Wed Jun 13 20:31:30 2012
New Revision: 237023
URL: http://svn.freebsd.org/changeset/base/237023

Log:
  MFC r230188i (by das):
  Correct some bugs that resulted from arm/_fpmath.h being blindly copied
  from the x86 version, which has a completely different long double
  format.

Modified:
  stable/9/lib/libc/arm/_fpmath.h
Directory Properties:
  stable/9/lib/libc/   (props changed)

Modified: stable/9/lib/libc/arm/_fpmath.h
==============================================================================
--- stable/9/lib/libc/arm/_fpmath.h	Wed Jun 13 20:30:25 2012	(r237022)
+++ stable/9/lib/libc/arm/_fpmath.h	Wed Jun 13 20:31:30 2012	(r237023)
@@ -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-stable-9 mailing list