mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
fix drem symbol for static linking and new targets
The compat remainder code is no longer built for !LIBM_SVID_COMPAT targets, but the legacy drem, dremf and dreml symbols should be still defined since removing them may break existing code, so keep them as aliases in the non-compat remainder code. * math/w_remainder.c: New file. * math/w_remainderf.c: New file. * math/w_remainderl.c: New file.
This commit is contained in:
parent
b8818ab592
commit
f275f64e7e
@ -1,3 +1,9 @@
|
|||||||
|
2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||||||
|
|
||||||
|
* math/w_remainder.c: New file.
|
||||||
|
* math/w_remainderf.c: New file.
|
||||||
|
* math/w_remainderl.c: New file.
|
||||||
|
|
||||||
2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
|
2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* elf/rtld.c (BOOTSTRAP_MAP): New.
|
* elf/rtld.c (BOOTSTRAP_MAP): New.
|
||||||
|
8
math/w_remainder.c
Normal file
8
math/w_remainder.c
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#include <math-type-macros-double.h>
|
||||||
|
#include <w_remainder_template.c>
|
||||||
|
#if __USE_WRAPPER_TEMPLATE
|
||||||
|
weak_alias (__remainder, drem)
|
||||||
|
# ifdef NO_LONG_DOUBLE
|
||||||
|
weak_alias (__remainder, dreml)
|
||||||
|
# endif
|
||||||
|
#endif
|
5
math/w_remainderf.c
Normal file
5
math/w_remainderf.c
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include <math-type-macros-float.h>
|
||||||
|
#include <w_remainder_template.c>
|
||||||
|
#if __USE_WRAPPER_TEMPLATE
|
||||||
|
weak_alias (__remainderf, dremf)
|
||||||
|
#endif
|
5
math/w_remainderl.c
Normal file
5
math/w_remainderl.c
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include <math-type-macros-ldouble.h>
|
||||||
|
#include <w_remainder_template.c>
|
||||||
|
#if __USE_WRAPPER_TEMPLATE
|
||||||
|
weak_alias (__remainderl, dreml)
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user