View | Details | Raw Unified | Return to bug 218514 | Differences between
and this patch

Collapse All | Expand All

(-)b/lib/msun/Makefile (-9 / +8 lines)
Lines 89-94 COMMON_SRCS= b_exp.c b_log.c b_tgamma.c \ Link Here
89
	s_tan.c s_tanf.c s_tanh.c s_tanhf.c s_tgammaf.c s_trunc.c s_truncf.c \
89
	s_tan.c s_tanf.c s_tanh.c s_tanhf.c s_tgammaf.c s_trunc.c s_truncf.c \
90
	w_cabs.c w_cabsf.c w_drem.c w_dremf.c
90
	w_cabs.c w_cabsf.c w_drem.c w_dremf.c
91
91
92
# IEEE-754 2008 and ISO/IEC TS 18661-4 half-cycle trignometric functions
93
COMMON_SRCS+= s_cospi.c s_cospif.c \
94
	s_sinpi.c s_sinpif.c \
95
	s_tanpi.c s_tanpif.c
96
92
# Location of fpmath.h and _fpmath.h
97
# Location of fpmath.h and _fpmath.h
93
.if exists(${LIBCSRCDIR}/${MACHINE_ARCH})
98
.if exists(${LIBCSRCDIR}/${MACHINE_ARCH})
94
LIBC_ARCH=${MACHINE_ARCH}
99
LIBC_ARCH=${MACHINE_ARCH}
Lines 113-124 COMMON_SRCS+= catrigl.c \ Link Here
113
	e_remainderl.c e_sinhl.c e_sqrtl.c \
118
	e_remainderl.c e_sinhl.c e_sqrtl.c \
114
	invtrig.c k_cosl.c k_sinl.c k_tanl.c \
119
	invtrig.c k_cosl.c k_sinl.c k_tanl.c \
115
	s_asinhl.c s_atanl.c s_cbrtl.c s_ceill.c \
120
	s_asinhl.c s_atanl.c s_cbrtl.c s_ceill.c \
116
	s_clogl.c s_cosl.c s_cprojl.c \
121
	s_clogl.c s_cosl.c s_cospil.c s_cprojl.c \
117
	s_csqrtl.c s_erfl.c s_exp2l.c s_expl.c s_floorl.c s_fmal.c \
122
	s_csqrtl.c s_erfl.c s_exp2l.c s_expl.c s_floorl.c s_fmal.c \
118
	s_fmaxl.c s_fminl.c s_frexpl.c s_logbl.c s_logl.c s_nanl.c \
123
	s_fmaxl.c s_fminl.c s_frexpl.c s_logbl.c s_logl.c s_nanl.c \
119
	s_nextafterl.c s_nexttoward.c s_remquol.c s_rintl.c s_roundl.c \
124
	s_nextafterl.c s_nexttoward.c s_remquol.c s_rintl.c s_roundl.c \
120
	s_scalbnl.c s_sinl.c s_sincosl.c \
125
	s_scalbnl.c s_sinl.c s_sincosl.c s_sinpil.c \
121
	s_tanhl.c s_tanl.c s_truncl.c w_cabsl.c
126
	s_tanhl.c s_tanl.c s_tanpil.c s_truncl.c w_cabsl.c
122
# Work around this warning from gcc:
127
# Work around this warning from gcc:
123
#     lib/msun/ld80/e_powl.c:275:1: error: floating constant exceeds range of
128
#     lib/msun/ld80/e_powl.c:275:1: error: floating constant exceeds range of
124
#     'long double' [-Werror=overflow]
129
#     'long double' [-Werror=overflow]
Lines 126-137 COMMON_SRCS+= catrigl.c \ Link Here
126
# See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=130067
131
# See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=130067
127
.if ${COMPILER_TYPE} == "gcc"
132
.if ${COMPILER_TYPE} == "gcc"
128
CFLAGS.e_powl.c+= -Wno-error=overflow
133
CFLAGS.e_powl.c+= -Wno-error=overflow
129
130
# IEEE-754 2008 and ISO/IEC TS 18661-4 half-cycle trignometric functions
131
COMMON_SRCS+=	s_cospi.c s_cospif.c s_cospil.c \
132
	s_sinpi.c s_sinpif.c s_sinpil.c \
133
	s_tanpi.c s_tanpif.c s_tanpil.c
134
135
.endif
134
.endif
136
.endif
135
.endif
137
136

Return to bug 218514