1ifeq ($(subdir),math) 2 3# These functions are built both for libc and libm because they're required 4# by printf. While the libc objects have the prefix s_, the libm ones are 5# prefixed with m_. 6sysdep_calls := s_copysignf-vis3 s_copysign-vis3 s_copysignf-generic \ 7 s_copysign-generic 8 9sysdep_routines += $(sysdep_calls) 10libm-sysdep_routines += s_fabs-vis3 s_fabsf-vis3 s_fabs-generic \ 11 s_fabsf-generic s_llrintf-vis3 s_llrint-vis3 \ 12 s_llrintf-generic s_llrint-generic \ 13 s_rintf-vis3 s_rint-vis3 s_rintf-generic \ 14 s_rint-generic s_fmaf-vis3 s_fma-vis3 s_fma-generic \ 15 s_fmaf-generic s_nearbyint-vis3 s_nearbyintf-vis3 \ 16 s_nearbyint-generic s_nearbyintf-generic \ 17 s_fdimf-vis3 s_fdim-vis3 s_fdim-generic \ 18 s_fdimf-generic \ 19 $(sysdep_calls:s_%=m_%) 20 21CFLAGS-s_fdimf-vis3.c += -Wa,-Av9d -mvis3 22CFLAGS-s_fdim-vis3.c += -Wa,-Av9d -mvis3 23endif 24