mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 02:40:06 +00:00
522228ddea
This patch refactors the sparc64 ifunc selector to a C implementation. Also, the generic symbol is moved to its own implementation file s_lrint{f}-generic.S). Checked on sparc64-linux-gnu and sparcv9-linux-gnu. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (libm-sysdep_routines): Add s_lrint-generic and s_lrint-generic objects. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
7 lines
170 B
ArmAsm
7 lines
170 B
ArmAsm
#define __lrintf __lrintf_generic
|
|
#undef weak_alias
|
|
#define weak_alias(a,b)
|
|
#undef strong_alias
|
|
#define strong_alias(a,b)
|
|
#include <sysdeps/sparc/sparc64/fpu/s_lrintf.S>
|