aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/s_log2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/s_log2l.c')
-rw-r--r--sysdeps/generic/s_log2l.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysdeps/generic/s_log2l.c b/sysdeps/generic/s_log2l.c
new file mode 100644
index 0000000000..835cd4fed2
--- /dev/null
+++ b/sysdeps/generic/s_log2l.c
@@ -0,0 +1,15 @@
+#include <math.h>
+#include <stdio.h>
+#include <errno.h>
+
+long double
+__log2l (long double x)
+{
+ fputs ("__log2l not implemented\n", stderr);
+ __set_errno (ENOSYS);
+ return 0.0;
+}
+weak_alias (__log2l, log2l)
+
+stub_warning (log2l)
+#include <stub-tag.h>