Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2014 09:38:43 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263230 - head/lib/msun/arm
Message-ID:  <201403160938.s2G9chWf083674@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}}
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403160938.s2G9chWf083674>