This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PPC cleanup sqrt functions.


This is more clean-up for the coming --with-cpu support. The current powerpc e_sqrt, w_sqrt implementations unnecessarily include dl-procinfo.h which caused build errors when I added the HWCAP platform support. This patch simply removes the unnecessary includes.

2005-11-15  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/fpu/e_sqrt.c: Remove dl-procinfo.h include.
	* sysdeps/powerpc/fpu/e_sqrtf.c: Remove dl-procinfo.h include.
	* sysdeps/powerpc/fpu/w_sqrtf.c: Remove dl-procinfo.h include.

diff -urN libc24-cvstip-20051115/sysdeps/powerpc/fpu/e_sqrt.c libc24/sysdeps/powerpc/fpu/e_sqrt.c
--- libc24-cvstip-20051115/sysdeps/powerpc/fpu/e_sqrt.c	2004-05-25 23:33:48.000000000 -0500
+++ libc24/sysdeps/powerpc/fpu/e_sqrt.c	2005-11-16 16:26:34.376075896 -0600
@@ -24,7 +24,6 @@
 
 #include <sysdep.h>
 #include <ldsodefs.h>
-#include <dl-procinfo.h>
 
 static const double almost_half = 0.5000000000000001;	/* 0.5 + 2^-53 */
 static const ieee_float_shape_type a_nan = {.word = 0x7fc00000 };
diff -urN libc24-cvstip-20051115/sysdeps/powerpc/fpu/e_sqrtf.c libc24/sysdeps/powerpc/fpu/e_sqrtf.c
--- libc24-cvstip-20051115/sysdeps/powerpc/fpu/e_sqrtf.c	2004-05-25 23:34:11.000000000 -0500
+++ libc24/sysdeps/powerpc/fpu/e_sqrtf.c	2005-11-16 16:30:08.495005064 -0600
@@ -24,7 +24,6 @@
 
 #include <sysdep.h>
 #include <ldsodefs.h>
-#include <dl-procinfo.h>
 
 static const float almost_half = 0.50000006;	/* 0.5 + 2^-24 */
 static const ieee_float_shape_type a_nan = {.word = 0x7fc00000 };
diff -urN libc24-cvstip-20051115/sysdeps/powerpc/fpu/w_sqrtf.c libc24/sysdeps/powerpc/fpu/w_sqrtf.c
--- libc24-cvstip-20051115/sysdeps/powerpc/fpu/w_sqrtf.c	2004-05-25 23:35:03.000000000 -0500
+++ libc24/sysdeps/powerpc/fpu/w_sqrtf.c	2005-11-16 16:32:49.430031664 -0600
@@ -23,7 +23,6 @@
 
 #include <sysdep.h>
 #include <ldsodefs.h>
-#include <dl-procinfo.h>
 
 #ifdef __STDC__
 float

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]