Add __sqrt*_finite aliases for MIPS.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 12 Oct 2011 16:12:13 +0000 (16:12 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 12 Oct 2011 16:12:13 +0000 (16:12 +0000)
ChangeLog.mips
sysdeps/mips/fpu/e_sqrt.c
sysdeps/mips/fpu/e_sqrtf.c
sysdeps/mips/mips64/soft-fp/e_sqrtl.c

index 5d9d772..78932d7 100644 (file)
@@ -1,3 +1,9 @@
+2011-10-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
+       * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
+       * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
+
 2011-10-05  Andreas Schwab  <schwab@redhat.com>
 
        * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
index 5449710..d1a8afc 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Hartvig Ekner <hartvige@mips.com>, 2002.
 
@@ -30,6 +30,7 @@ __ieee754_sqrt (double x)
   __asm__ ("sqrt.d %0,%1" : "=f" (z) : "f" (x));
   return z;
 }
+strong_alias (__ieee754_sqrt, __sqrt_finite)
 
 #else
 
index 3590ad4..da58b46 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Hartvig Ekner <hartvige@mips.com>, 2002.
 
@@ -30,6 +30,7 @@ __ieee754_sqrtf (float x)
   __asm__ ("sqrt.s %0,%1" : "=f" (z) : "f" (x));
   return z;
 }
+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
 
 #else
 
index 81fd58a..c2e1faf 100644 (file)
@@ -1,5 +1,5 @@
 /* long double square root in software floating-point emulation.
-   Copyright (C) 1997, 1999, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
                  Jakub Jelinek (jj@ultra.linux.cz).
@@ -37,3 +37,4 @@ __ieee754_sqrtl (const long double a)
   FP_HANDLE_EXCEPTIONS;
   return c;
 }
+strong_alias (__ieee754_sqrtl, __sqrtl_finite)