1 # The`long double' type is a distinct type we support if
2 # -mlong-double-128 option is used (or when it becomes a default
3 # when -mlong-double-64 is not used).
5 ifeq (,$(filter -mlong-double-128,$(sysdep-CFLAGS)))
6 sysdep-CFLAGS += -mlong-double-128
10 libm-routines += s_nexttowardfd
11 routines += math_ldbl_opt nldbl-compat
13 extra-libs += libnldbl
14 libnldbl-calls = asprintf dprintf fprintf fscanf iovfscanf \
15 obstack_printf obstack_vprintf printf scanf snprintf \
16 sprintf sscanf vasprintf vdprintf vfprintf \
17 vfscanf vprintf vscanf vsnprintf \
19 printf_fp printf_size \
20 fprintf_chk printf_chk snprintf_chk sprintf_chk \
21 vfprintf_chk vprintf_chk \
22 vsnprintf_chk vsprintf_chk \
23 asprintf_chk vasprintf_chk dprintf_chk \
24 vdprintf_chk obstack_printf_chk obstack_vprintf_chk \
25 syslog syslog_chk vsyslog vsyslog_chk \
26 strtold strtold_l strtoldint wcstold wcstold_l wcstoldint \
27 qecvt qfcvt qgcvt qecvt_r qfcvt_r \
28 isinf isnan finite signbit scalb log2 lgamma_r ceil \
29 significand acos asin atan atan2 cos sin tan cosh sinh \
30 tanh acosh asinh atanh exp log log10 exp10 pow10 expm1 \
31 log1p logb exp2 sqrt cbrt fabs floor j0 j1 y0 y1 erf erfc \
32 lgamma tgamma gamma rint nearbyint round trunc \
33 copysign fdim fmax fmin nextafter pow hypot fmod drem \
34 remainder ldexp scalbn frexp modf scalbln fma nan sincos \
35 jn yn ilogb remquo lrint lround llrint llround nexttowardf \
36 nexttoward conj cacos cacosh casin catan catanh ccos ccosh \
37 casinh cexp clog cproj csin csinh csqrt ctan ctanh cpow \
38 cabs carg cimag creal clog10 \
39 isoc99_scanf isoc99_fscanf isoc99_sscanf \
40 isoc99_vscanf isoc99_vfscanf isoc99_vsscanf
41 libnldbl-calls-$(OPTION_EGLIBC_LOCALE_CODE) += strfmon strfmon_l
42 libnldbl-calls-$(OPTION_POSIX_WIDE_CHAR_DEVICE_IO) += fwprintf fwscanf \
43 swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
44 vwprintf vwscanf wprintf wscanf fwprintf_chk swprintf_chk \
45 vfwprintf_chk vswprintf_chk vwprintf_chk wprintf_chk \
46 isoc99_wscanf isoc99_fwscanf isoc99_swscanf \
47 isoc99_vwscanf isoc99_vfwscanf isoc99_vswscanf
48 libnldbl-calls += $(libnldbl-calls-y)
49 libnldbl-routines = $(libnldbl-calls:%=nldbl-%)
50 libnldbl-inhibit-o = $(object-suffixes)
51 libnldbl-static-only-routines = $(libnldbl-routines)