Add __aeabi_uldivmod (unsigned long long div/mod).

Only use 32-bit softfloat if arm/armeb.
earm/earmeb will use the 64-bit softfloat.
This commit is contained in:
matt 2012-08-05 04:30:46 +00:00
parent ca51ed1c42
commit e9b001e787

View File

@ -1,10 +1,15 @@
# $NetBSD: Makefile.inc,v 1.10 2011/11/18 16:10:02 joerg Exp $
# $NetBSD: Makefile.inc,v 1.11 2012/08/05 04:30:46 matt Exp $
.include <bsd.own.mk>
SRCS+= __aeabi_read_tp.S __sigaction14_sigtramp.c __sigtramp2.S
SRCS+= __aeabi_uldivmod.S
CPPFLAGS += -DSOFTFLOAT
# for earm, use the 64-bit softfloat
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "armeb"
SOFTFLOAT_BITS=32
.endif
.include <softfloat/Makefile.inc>