From edc121be8b53da57950daf6f42a619b5826f30b6 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 15 Sep 2011 11:16:03 +0200 Subject: Fix PLT uses in libm on powerpc --- sysdeps/powerpc/fpu/e_hypot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps/powerpc/fpu/e_hypot.c') diff --git a/sysdeps/powerpc/fpu/e_hypot.c b/sysdeps/powerpc/fpu/e_hypot.c index 22bd56371e..afbcc18e9e 100644 --- a/sysdeps/powerpc/fpu/e_hypot.c +++ b/sysdeps/powerpc/fpu/e_hypot.c @@ -96,7 +96,7 @@ __ieee754_hypot (double x, double y) { x *= twoM600; y *= twoM600; - return sqrt (x * x + y * y) / twoM600; + return __ieee754_sqrt (x * x + y * y) / twoM600; } if (y < twoM500) { @@ -104,14 +104,14 @@ __ieee754_hypot (double x, double y) { x *= two1022; y *= two1022; - return sqrt (x * x + y * y) / two1022; + return __ieee754_sqrt (x * x + y * y) / two1022; } else { x *= two600; y *= two600; - return sqrt (x * x + y * y) / two600; + return __ieee754_sqrt (x * x + y * y) / two600; } } - return sqrt (x * x + y * y); + return __ieee754_sqrt (x * x + y * y); } -- cgit 1.4.1