diff options
Diffstat (limited to 'sysdeps/stub')
-rw-r--r-- | sysdeps/stub/s_exp2.c | 12 | ||||
-rw-r--r-- | sysdeps/stub/s_exp2f.c | 12 | ||||
-rw-r--r-- | sysdeps/stub/s_exp2l.c | 12 | ||||
-rw-r--r-- | sysdeps/stub/s_log2l.c | 3 |
4 files changed, 38 insertions, 1 deletions
diff --git a/sysdeps/stub/s_exp2.c b/sysdeps/stub/s_exp2.c new file mode 100644 index 0000000000..a3d0906a33 --- /dev/null +++ b/sysdeps/stub/s_exp2.c @@ -0,0 +1,12 @@ +#include <math.h> +#include <stdio.h> + +double +__exp2 (double x) +{ + fputs ("__exp2 not implemented\n", stderr); + return 0.0; +} +weak_alias (__exp2, exp2) + +stub_warning (exp2) diff --git a/sysdeps/stub/s_exp2f.c b/sysdeps/stub/s_exp2f.c new file mode 100644 index 0000000000..5d6540e074 --- /dev/null +++ b/sysdeps/stub/s_exp2f.c @@ -0,0 +1,12 @@ +#include <math.h> +#include <stdio.h> + +float +__exp2f (float x) +{ + fputs ("__exp2f not implemented\n", stderr); + return 0.0; +} +weak_alias (__exp2f, exp2f) + +stub_warning (exp2) diff --git a/sysdeps/stub/s_exp2l.c b/sysdeps/stub/s_exp2l.c new file mode 100644 index 0000000000..4c52fc904d --- /dev/null +++ b/sysdeps/stub/s_exp2l.c @@ -0,0 +1,12 @@ +#include <math.h> +#include <stdio.h> + +long double +__exp2l (long double x) +{ + fputs ("__exp2l not implemented\n", stderr); + return 0.0; +} +weak_alias (__exp2l, exp2l) + +stub_warning (exp2l) diff --git a/sysdeps/stub/s_log2l.c b/sysdeps/stub/s_log2l.c index cfa1a7d016..d8d86af995 100644 --- a/sysdeps/stub/s_log2l.c +++ b/sysdeps/stub/s_log2l.c @@ -7,5 +7,6 @@ __log2l (long double x) fputs ("__log2l not implemented\n", stderr); return 0.0; } +weak_alias (__log2l, log2l) -stub_warning (__log2l) +stub_warning (log2l) |