Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/arm For ARM EABI, we need -DDSOFTFLOAT_NEED_FI...



details:   https://anonhg.NetBSD.org/src/rev/3ca28d839735
branches:  trunk
changeset: 780751:3ca28d839735
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 05 04:54:38 2012 +0000

description:
For ARM EABI, we need -DDSOFTFLOAT_NEED_FIXUNS too.

diffstat:

 lib/libc/arch/arm/Makefile.inc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 3d2bd855518e -r 3ca28d839735 lib/libc/arch/arm/Makefile.inc
--- a/lib/libc/arch/arm/Makefile.inc    Sun Aug 05 04:39:09 2012 +0000
+++ b/lib/libc/arch/arm/Makefile.inc    Sun Aug 05 04:54:38 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2012/08/05 04:30:46 matt Exp $
+# $NetBSD: Makefile.inc,v 1.12 2012/08/05 04:54:38 matt Exp $
 
 .include <bsd.own.mk>
 
@@ -6,6 +6,9 @@
 SRCS+= __aeabi_uldivmod.S
 
 CPPFLAGS += -DSOFTFLOAT
+.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb"
+CPPFLAGS += -DSOFTFLOAT_NEED_FIXUNS
+.endif
 
 # for earm, use the 64-bit softfloat
 .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "armeb"



Home | Main Index | Thread Index | Old Index