Wed Aug 16 13:34:59 2017 UTC ()
add s_rintl.c for aarch64. ok by ryo@.


(nisimura)
diff -r1.198 -r1.199 src/lib/libm/Makefile

cvs diff -r1.198 -r1.199 src/lib/libm/Makefile (expand / switch to unified diff)

--- src/lib/libm/Makefile 2017/08/16 09:18:24 1.198
+++ src/lib/libm/Makefile 2017/08/16 13:34:59 1.199
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.198 2017/08/16 09:18:24 he Exp $ 1# $NetBSD: Makefile,v 1.199 2017/08/16 13:34:59 nisimura Exp $
2# 2#
3# @(#)Makefile 5.1beta 93/09/24 3# @(#)Makefile 5.1beta 93/09/24
4# 4#
5# ==================================================== 5# ====================================================
6# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 6# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
7# 7#
8# Developed at SunPro, a Sun Microsystems, Inc. business. 8# Developed at SunPro, a Sun Microsystems, Inc. business.
9# Permission to use, copy, modify, and distribute this 9# Permission to use, copy, modify, and distribute this
10# software is freely granted, provided that this notice 10# software is freely granted, provided that this notice
11# is preserved. 11# is preserved.
12# ==================================================== 12# ====================================================
13# 13#
14# 14#
@@ -50,26 +50,27 @@ USE_SHLIBDIR= yes @@ -50,26 +50,27 @@ USE_SHLIBDIR= yes
50LIBC_MACHINE_ARCH?= ${MACHINE_ARCH} 50LIBC_MACHINE_ARCH?= ${MACHINE_ARCH}
51LIBC_MACHINE_CPU?= ${MACHINE_CPU} 51LIBC_MACHINE_CPU?= ${MACHINE_CPU}
52 52
53# compiler_rt uses typeof() and __extension__ 53# compiler_rt uses typeof() and __extension__
54LINTFLAGS += -g 54LINTFLAGS += -g
55 55
56.if (${LIBC_MACHINE_CPU} == "aarch64") 56.if (${LIBC_MACHINE_CPU} == "aarch64")
57.PATH: ${.CURDIR}/arch/aarch64 57.PATH: ${.CURDIR}/arch/aarch64
58ARCH_SRCS = e_sqrt.S e_sqrtf.S s_fabsf.S 58ARCH_SRCS = e_sqrt.S e_sqrtf.S s_fabsf.S
59ARCH_SRCS+= s_fma.S s_fmaf.S s_fmax.S s_fmaxf.S s_fmin.S s_fminf.S 59ARCH_SRCS+= s_fma.S s_fmaf.S s_fmax.S s_fmaxf.S s_fmin.S s_fminf.S
60.if ${MKSOFTFLOAT} == "no" 60.if ${MKSOFTFLOAT} == "no"
61COMMON_SRCS+= fenv.c 61COMMON_SRCS+= fenv.c
62.endif 62.endif
 63COMMON_SRCS+= s_rintl.c
63COMMON_SRCS+= e_sqrtl.c 64COMMON_SRCS+= e_sqrtl.c
64COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c 65COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
65 66
66.elif (${LIBC_MACHINE_ARCH} == "alpha") 67.elif (${LIBC_MACHINE_ARCH} == "alpha")
67.PATH: ${.CURDIR}/arch/alpha 68.PATH: ${.CURDIR}/arch/alpha
68ARCH_SRCS = s_copysign.S s_copysignf.S lrint.S 69ARCH_SRCS = s_copysign.S s_copysignf.S lrint.S
69COMMON_SRCS+= fenv.c 70COMMON_SRCS+= fenv.c
70COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i 71COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
71 72
72.elif (${LIBC_MACHINE_CPU} == "arm") 73.elif (${LIBC_MACHINE_CPU} == "arm")
73.PATH.c: ${.CURDIR}/arch/arm 74.PATH.c: ${.CURDIR}/arch/arm
74.if ${MKSOFTFLOAT} == "no" 75.if ${MKSOFTFLOAT} == "no"
75COMMON_SRCS+= fenv.c 76COMMON_SRCS+= fenv.c