about summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu/e_hypotf.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-09-15 11:16:03 +0200
committerAndreas Schwab <schwab@redhat.com>2011-09-15 15:35:38 +0200
commitedc121be8b53da57950daf6f42a619b5826f30b6 (patch)
treeca7d0771ba09d5797c396c5a4cacbd69dc134083 /sysdeps/powerpc/fpu/e_hypotf.c
parentee4d03150a65018f367e3250887ec9c5b2133ce4 (diff)
downloadglibc-edc121be8b53da57950daf6f42a619b5826f30b6.tar.gz
glibc-edc121be8b53da57950daf6f42a619b5826f30b6.tar.xz
glibc-edc121be8b53da57950daf6f42a619b5826f30b6.zip
Fix PLT uses in libm on powerpc
Diffstat (limited to 'sysdeps/powerpc/fpu/e_hypotf.c')
-rw-r--r--sysdeps/powerpc/fpu/e_hypotf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/powerpc/fpu/e_hypotf.c b/sysdeps/powerpc/fpu/e_hypotf.c
index 3e6c597cc9..02ad7732b9 100644
--- a/sysdeps/powerpc/fpu/e_hypotf.c
+++ b/sysdeps/powerpc/fpu/e_hypotf.c
@@ -97,7 +97,7 @@ __ieee754_hypotf (float x, float y)
     {
       x *= twoM60;
       y *= twoM60;
-      return sqrtf (x * x + y * y) / twoM60;
+      return __ieee754_sqrtf (x * x + y * y) / twoM60;
     }
   if (y < twoM50)
     {
@@ -105,14 +105,14 @@ __ieee754_hypotf (float x, float y)
 	{
 	  x *= two126;
 	  y *= two126;
-	  return sqrtf (x * x + y * y) / two126;
+	  return __ieee754_sqrtf (x * x + y * y) / two126;
 	}
       else
 	{
 	  x *= two60;
 	  y *= two60;
-	  return sqrtf (x * x + y * y) / two60;
+	  return __ieee754_sqrtf (x * x + y * y) / two60;
 	}
     }
-  return sqrtf (x * x + y * y);
+  return __ieee754_sqrtf (x * x + y * y);
 }