Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 22:13:51 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r257283 - projects/arm_eabi_vfp/lib/libc/arm/aeabi
Message-ID:  <201310282213.r9SMDpA3060767@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Mon Oct 28 22:13:50 2013
New Revision: 257283
URL: http://svnweb.freebsd.org/changeset/base/257283

Log:
  Only build the VFP versions of the float helper functions on architectures
  where we support VFP.

Modified:
  projects/arm_eabi_vfp/lib/libc/arm/aeabi/Makefile.inc

Modified: projects/arm_eabi_vfp/lib/libc/arm/aeabi/Makefile.inc
==============================================================================
--- projects/arm_eabi_vfp/lib/libc/arm/aeabi/Makefile.inc	Mon Oct 28 21:41:44 2013	(r257282)
+++ projects/arm_eabi_vfp/lib/libc/arm/aeabi/Makefile.inc	Mon Oct 28 22:13:50 2013	(r257283)
@@ -3,13 +3,15 @@
 .PATH: ${.CURDIR}/arm/aeabi
 
 SRCS+=	aeabi_atexit.c		\
-	aeabi_unwind_cpp.c	\
-	aeabi_vfp_double.S	\
-	aeabi_vfp_float.S
+	aeabi_unwind_cpp.c
 .if ${MACHINE_ARCH} != "armv6hf"
 SRCS+=	aeabi_double.c		\
 	aeabi_float.c
 .endif
+.if ${MACHINE_ARCH:Marmv6*}
+SRCS+=	aeabi_vfp_double.S	\
+	aeabi_vfp_float.S
+.endif
 
 # Add the aeabi_mem* functions. While they live in compiler-rt they call into
 # libc. This causes issues when other parts of libc call these functions.



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