Module Name: src Committed By: christos Date: Mon Aug 21 17:10:34 UTC 2017
Modified Files: src/lib/libm: Makefile Log Message: add nexttoward for mips64 and aarch64 To generate a diff of this commit: cvs rdiff -u -r1.201 -r1.202 src/lib/libm/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libm/Makefile diff -u src/lib/libm/Makefile:1.201 src/lib/libm/Makefile:1.202 --- src/lib/libm/Makefile:1.201 Thu Aug 17 09:58:39 2017 +++ src/lib/libm/Makefile Mon Aug 21 13:10:34 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.201 2017/08/17 13:58:39 he Exp $ +# $NetBSD: Makefile,v 1.202 2017/08/21 17:10:34 christos Exp $ # # @(#)Makefile 5.1beta 93/09/24 # @@ -60,7 +60,7 @@ ARCH_SRCS+= s_fma.S s_fmaf.S s_fmax.S s_ .if ${MKSOFTFLOAT} == "no" COMMON_SRCS+= fenv.c .endif -COMMON_SRCS+= s_rintl.c +COMMON_SRCS+= s_nexttoward.c s_rintl.c COMMON_SRCS+= e_sqrtl.c COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c @@ -195,6 +195,10 @@ COMMON_SRCS += fenv.c COMMON_SRCS += fenv.c .endif COMMON_SRCS+= s_rintl.c +.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el") \ + && (!defined(CPUFLAGS) || empty(CPUFLAGS:M-mabi=32)) +COMMON_SRCS+= s_nexttoward.c +.endif .elif (${LIBC_MACHINE_CPU} == "sh3") .PATH: ${.CURDIR}/arch/sh3