From c8d4d8a1a95cee5dc5cc9f98b9d92897ff4ce413 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 10 May 2002 18:39:46 +0000 Subject: Add sqrtl alias. --- sysdeps/powerpc/fpu/w_sqrt.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/powerpc/fpu/w_sqrt.c b/sysdeps/powerpc/fpu/w_sqrt.c index 968f45a003..8141f361a7 100644 --- a/sysdeps/powerpc/fpu/w_sqrt.c +++ b/sysdeps/powerpc/fpu/w_sqrt.c @@ -1,5 +1,5 @@ /* Single-precision floating point square root. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -139,3 +139,8 @@ weak_alias (__sqrt, sqrt) /* Strictly, this is wrong, but the only places where _ieee754_sqrt is used will not pass in a negative result. */ strong_alias(__sqrt,__ieee754_sqrt) + +#ifdef NO_LONG_DOUBLE +weak_alias (__sqrt, __sqrtl) +weak_alias (__sqrt, sqrtl) +#endif -- cgit 1.4.1