svn commit: r263230 - head/lib/msun/arm

Andrew Turner andrew at FreeBSD.org
Sun Mar 16 09:38:44 UTC 2014


Author: andrew
Date: Sun Mar 16 09:38:43 2014
New Revision: 263230
URL: http://svnweb.freebsd.org/changeset/base/263230

Log:
  Build fenv-vfp.c with the softfp float abi. Without this gcc generates an
  incorrect assembly file that doesn't allow for vfp instructions.

Modified:
  head/lib/msun/arm/Makefile.inc

Modified: head/lib/msun/arm/Makefile.inc
==============================================================================
--- head/lib/msun/arm/Makefile.inc	Sun Mar 16 08:39:46 2014	(r263229)
+++ head/lib/msun/arm/Makefile.inc	Sun Mar 16 09:38:43 2014	(r263230)
@@ -7,3 +7,6 @@ SYM_MAPS += ${.CURDIR}/arm/Symbol.map
 ARCH_SRCS = fenv-softfp.c fenv-vfp.c
 .endif
 
+CFLAGS.fenv-vfp.c=	-mfloat-abi=softfp
+CFLAGS+=		${CFLAGS.${.IMPSRC:T}}
+


More information about the svn-src-all mailing list