Add __sqrt*_finite aliases for MIPS.

This commit is contained in:
Joseph Myers 2011-10-12 16:12:13 +00:00
parent 74d3667f04
commit c3beb30239
4 changed files with 12 additions and 3 deletions

View 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)

View 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

View 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

View 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)