summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--math/w_remainder.c8
-rw-r--r--math/w_remainderf.c5
-rw-r--r--math/w_remainderl.c5
4 files changed, 24 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d2444dd894..58aea77be0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
 	* elf/rtld.c (BOOTSTRAP_MAP): New.
diff --git a/math/w_remainder.c b/math/w_remainder.c
new file mode 100644
index 0000000000..86d5da7a2f
--- /dev/null
+++ b/math/w_remainder.c
@@ -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
diff --git a/math/w_remainderf.c b/math/w_remainderf.c
new file mode 100644
index 0000000000..f663622268
--- /dev/null
+++ b/math/w_remainderf.c
@@ -0,0 +1,5 @@
+#include <math-type-macros-float.h>
+#include <w_remainder_template.c>
+#if __USE_WRAPPER_TEMPLATE
+weak_alias (__remainderf, dremf)
+#endif
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 <math-type-macros-ldouble.h>
+#include <w_remainder_template.c>
+#if __USE_WRAPPER_TEMPLATE
+weak_alias (__remainderl, dreml)
+#endif