mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-28 13:31:13 +00:00
006e766437
This patch makes SPARC fabsl implementation use libm_alias_ldouble, to prepare them for also defining _Float128 function aliases. Tested with build-many-glibcs.py that installed stripped shared libraries (sparc64-linux-gnu and sparcv9-linux-gnu) are unchanged by the patch. * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include <libm-alias-ldouble.h>. (fabsl): Define using libm_alias_ldouble. * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include <libm-alias-ldouble.h>. (fabsl): Define using libm_alias_ldouble.
8 lines
137 B
C
8 lines
137 B
C
#include <libm-alias-ldouble.h>
|
|
|
|
long double __fabsl (long double x)
|
|
{
|
|
return __builtin_fabsl (x);
|
|
}
|
|
libm_alias_ldouble (__fabs, fabs)
|