From f275f64e7e97fcfe31280aabd0d64591c90bbe18 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 2 Oct 2017 15:53:51 +0100 Subject: 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. --- math/w_remainderl.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 math/w_remainderl.c (limited to 'math/w_remainderl.c') diff --git a/math/w_remainderl.c b/math/w_remainderl.c new file mode 100644 index 0000000000..2aca8bc45a --- /dev/null +++ b/math/w_remainderl.c @@ -0,0 +1,5 @@ +#include +#include +#if __USE_WRAPPER_TEMPLATE +weak_alias (__remainderl, dreml) +#endif -- cgit v1.2.3