summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-08-25 17:25:40 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-09-01 09:31:06 -0500
commit2bad840e9d4b3e714b4f20ad6b46a76e7be1d8fe (patch)
treea386736c845323bf4b79240b62b57b5120f5f59e /math
parentf306ea1ada5fa0bdd87f070aa58162039676fa06 (diff)
downloadglibc-2bad840e9d4b3e714b4f20ad6b46a76e7be1d8fe.tar.gz
glibc-2bad840e9d4b3e714b4f20ad6b46a76e7be1d8fe.tar.xz
glibc-2bad840e9d4b3e714b4f20ad6b46a76e7be1d8fe.zip
Remove unneeded stubs for k_rem_pio2l.
This is only used for the float and double variants.

Instead, just add it to the type specific list of files,
and remove all stubs, and remove the declaration from
math_private.h.

I verified x86_64, i486, ia64, m68k, and ppc64 build.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile6
-rw-r--r--math/k_rem_pio2l.c15
2 files changed, 3 insertions, 18 deletions
diff --git a/math/Makefile b/math/Makefile
index c0d7ff070d..6a90a367ab 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -56,7 +56,7 @@ libm-calls =								  \
 	e_hypotF e_j0F e_j1F e_jnF e_lgammaF_r e_logF e_log10F e_powF	  \
 	e_rem_pio2F e_remainderF e_scalbF e_sinhF e_sqrtF e_gammaF_r	  \
 	e_ilogbF							  \
-	k_cosF k_rem_pio2F k_sinF k_tanF s_asinhF s_atanF s_cbrtF	  \
+	k_cosF k_sinF k_tanF s_asinhF s_atanF s_cbrtF			  \
 	s_ceilF s_cosF s_erfF s_expm1F s_fabsF				  \
 	s_floorF s_log1pF w_log1pF s_logbF				  \
 	s_nextafterF s_nexttowardF s_rintF s_scalblnF w_scalblnF	  \
@@ -99,11 +99,11 @@ type-ldouble-yes := ldouble
 type-double-suffix :=
 type-double-routines := branred doasin dosincos halfulp mpa mpatan2	\
 		       mpatan mpexp mplog mpsqrt mptan sincos32 slowexp	\
-		       slowpow sincostab
+		       slowpow sincostab k_rem_pio2
 
 # float support
 type-float-suffix := f
-type-float-routines :=
+type-float-routines := k_rem_pio2f
 
 
 # Apply suffix to each type in arg 1
diff --git a/math/k_rem_pio2l.c b/math/k_rem_pio2l.c
deleted file mode 100644
index 01bf158249..0000000000
--- a/math/k_rem_pio2l.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <math.h>
-#include <math_private.h>
-#include <stdio.h>
-#include <errno.h>
-
-int
-__kernel_rem_pio2l (long double *x, long double *y, int e0, int nx, int prec,
-		    const int *ipio2)
-{
-  fputs ("__kernel_rem_pio2l not implemented\n", stderr);
-  __set_errno (ENOSYS);
-  return 0.0;
-}
-
-stub_warning (__kernel_rem_pio2l)