From e5277ba25dc0665f192ebc3f9649a00098dbdc9e Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 28 Nov 2016 23:27:23 +0000 Subject: Make ilogb wrappers type-generic. This patch converts the ilogb wrappers (which set errno directly rather than doing anything with __kernel_standard) to use the type-generic template machinery. This is intended as preparation for adding llogb. Tested for x86_64 and x86, and tested compile for other architectures with build-many-glibcs.py. * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c. * math/w_ilogb.c: Remove. * math/w_ilogbf.c: Likewise. * math/w_ilogbl.c: Likewise. * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise. * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise. * math/Makefile (gen-libm-calls): Add w_ilogbF. (libm-calls): Remove w_ilogbF. * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h (LDOUBLE_ilogbl_libm_version): New macro. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 591b4c0..6b64145 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2016-11-28 Joseph Myers + * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c. + * math/w_ilogb.c: Remove. + * math/w_ilogbf.c: Likewise. + * math/w_ilogbl.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise. + * math/Makefile (gen-libm-calls): Add w_ilogbF. + (libm-calls): Remove w_ilogbF. + * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h + (LDOUBLE_ilogbl_libm_version): New macro. + * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file. * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on -- cgit v1.1