mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-09 10:50:08 +00:00
18305fba55
The sparc32/sparcv9/fpu/multiarch implementations of llrint / llrintf have aliases lllrint / lllrintf. No such function is exported from or used in libm and these aliases should not be there; I expect they arose accidentally in the course of converting a 64-bit implementation (where lrint and llrint can be aliases) to a 32-bit llrint implementation. This patch removes those spurious aliases. Tested (compilation only) with build-many-glibcs.py for sparcv9-linux-gnu. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S (__lllrint): Remove alias. (lllrint): Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S (__lllrintf): Likewise. (lllrintf): Likewise.
19 lines
364 B
ArmAsm
19 lines
364 B
ArmAsm
#include <sparc-ifunc.h>
|
|
#include <math_ldbl_opt.h>
|
|
#include <libm-alias-double.h>
|
|
|
|
SPARC_ASM_VIS3_IFUNC(llrint)
|
|
|
|
libm_alias_double (__llrint, llrint)
|
|
|
|
# undef weak_alias
|
|
# define weak_alias(a, b)
|
|
# undef strong_alias
|
|
# define strong_alias(a, b)
|
|
# undef compat_symbol
|
|
# define compat_symbol(a, b, c, d)
|
|
|
|
#define __llrint __llrint_generic
|
|
|
|
#include "../s_llrint.S"
|