svn commit: r257283 - projects/arm_eabi_vfp/lib/libc/arm/aeabi

Andrew Turner andrew at FreeBSD.org
Mon Oct 28 22:13:51 UTC 2013


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.


More information about the svn-src-projects mailing list