about summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2002-05-10 18:39:46 +0000
committerAndreas Schwab <schwab@suse.de>2002-05-10 18:39:46 +0000
commitc8d4d8a1a95cee5dc5cc9f98b9d92897ff4ce413 (patch)
tree2ea25a38a6c7cd82c4c2d434bb8cedf37c1a489e /sysdeps/powerpc/fpu
parent72b05b87acbc6dc989a11786ee31593ca1948d15 (diff)
downloadglibc-c8d4d8a1a95cee5dc5cc9f98b9d92897ff4ce413.tar.gz
glibc-c8d4d8a1a95cee5dc5cc9f98b9d92897ff4ce413.tar.xz
glibc-c8d4d8a1a95cee5dc5cc9f98b9d92897ff4ce413.zip
Add sqrtl alias.
Diffstat (limited to 'sysdeps/powerpc/fpu')
-rw-r--r--sysdeps/powerpc/fpu/w_sqrt.c7
1 files changed, 6 insertions, 1 deletions
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