mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
math: Provide missing math symbols on libc.a (BZ 31781)
The libc.a for alpha, s390, and sparcv9 does not provide
copysignf64x, copysignf128, frexpf64x, frexpf128, modff64x, and
modff128.
Checked with a static build for the affected ABIs.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit eaa8113bf0
)
This commit is contained in:
parent
d473c9bb3b
commit
d2cbfcf1d9
@ -1,10 +1,10 @@
|
||||
#include <math_ldbl_opt.h>
|
||||
#include <libm-alias-ldouble.h>
|
||||
#if IS_IN (libc)
|
||||
#if IS_IN (libc) && defined SHARED
|
||||
# undef libm_alias_ldouble
|
||||
# define libm_alias_ldouble(from, to)
|
||||
#endif
|
||||
#include <sysdeps/ieee754/ldbl-128/s_copysignl.c>
|
||||
#if IS_IN (libc)
|
||||
#if IS_IN (libc) && defined SHARED
|
||||
long_double_symbol (libc, __copysignl, copysignl);
|
||||
#endif
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include <math_ldbl_opt.h>
|
||||
#include <libm-alias-ldouble.h>
|
||||
#if IS_IN (libc)
|
||||
#if IS_IN (libc) && defined SHARED
|
||||
# undef libm_alias_ldouble
|
||||
# define libm_alias_ldouble(from, to)
|
||||
#endif
|
||||
#include <sysdeps/ieee754/ldbl-128/s_frexpl.c>
|
||||
#if IS_IN (libc)
|
||||
#if IS_IN (libc) && defined SHARED
|
||||
long_double_symbol (libc, __frexpl, frexpl);
|
||||
#endif
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include <math_ldbl_opt.h>
|
||||
#include <libm-alias-ldouble.h>
|
||||
#if IS_IN (libc)
|
||||
#if IS_IN (libc) && defined SHARED
|
||||
# undef libm_alias_ldouble
|
||||
# define libm_alias_ldouble(from, to)
|
||||
#endif
|
||||
#include <sysdeps/ieee754/ldbl-128/s_modfl.c>
|
||||
#if IS_IN (libc)
|
||||
#if IS_IN (libc) && defined SHARED
|
||||
long_double_symbol (libc, __modfl, modfl);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user