mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
math: Fix i386 and m68k exp10 on static build (BZ 31775)
The commit08ddd26814
removed the static exp10 on i386 and m68k with an empty w_exp10.c (required for the ABIs that uses the newly implementation). This patch fixes by adding the required symbols on the arch-specific w_exp{f}_compat.c implementation. Checked on i686-linux-gnu and with a build for m68k-linux-gnu. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> (cherry picked from commit1f09aae36a
)
This commit is contained in:
parent
6cb25aff85
commit
3950cbd7a1
@ -1,3 +1,8 @@
|
||||
/* i386 provides an optimized __ieee754_exp10. */
|
||||
#define NO_COMPAT_NEEDED 1
|
||||
#include <math/w_exp10_compat.c>
|
||||
#ifdef SHARED
|
||||
# define NO_COMPAT_NEEDED 1
|
||||
# include <math/w_exp10_compat.c>
|
||||
#else
|
||||
# include <math-type-macros-double.h>
|
||||
# include <w_exp10_template.c>
|
||||
#endif
|
||||
|
@ -1,3 +1,8 @@
|
||||
/* m68k provides an optimized __ieee754_exp10. */
|
||||
#define NO_COMPAT_NEEDED 1
|
||||
#include <math/w_exp10_compat.c>
|
||||
#ifdef SHARED
|
||||
# define NO_COMPAT_NEEDED 1
|
||||
# include <math/w_exp10_compat.c>
|
||||
#else
|
||||
# include <math-type-macros-double.h>
|
||||
# include <w_exp10_template.c>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user