mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 08:40:07 +00:00
1cbd7bfe65
This patch refactors the sparc64 ifunc selector to a C implementation. Also, the generic symbol is moved to its own implementation file (s_signbit{f}-generic.S). It also simplifies the multiarch Makefile by moving the common objects from libm-sysdeps_routines and sysdeps_routines to a new sysdeps_call rule and including it where required with the correct prefix. Checked on sparc64-linux-gnu and sparcv9-linux-gnu. * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New macro. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New rule. (sysdep_routines): Use sysdep_calls as base. (libm-sysdep_routines): Add generic rule for symbols shared with libc. Add s_signbit-generic and s_signbitf-generic objects. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||
---|---|---|
.. | ||
multiarch | ||
e_sqrtl.c | ||
s_copysign.S | ||
s_copysignf.S | ||
s_fabs.c | ||
s_fabsf.c | ||
s_fabsl.c | ||
s_finite.S | ||
s_finitef.S | ||
s_fma.c | ||
s_isinf.S | ||
s_isinff.S | ||
s_isnan.S | ||
s_isnanf.S | ||
s_llrint.S | ||
s_llrintf.S | ||
s_lrint.S | ||
s_lrintf.S | ||
s_nearbyint.S | ||
s_nearbyintf.S | ||
s_rint.S | ||
s_rintf.S | ||
s_signbit.S | ||
s_signbitf.S | ||
s_signbitl.S |