aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-10-12 16:12:13 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-10-12 16:12:13 +0000
commitc3beb302397b96c0d40063e7f46d8dfc8d3feeb5 (patch)
treecd1b21380df0d5ea1c07c8e0200a09f780e40de0
parent74d3667f0459c64c7b09287368124b0cfb7b16d4 (diff)
downloadglibc-c3beb302397b96c0d40063e7f46d8dfc8d3feeb5.tar.xz
glibc-c3beb302397b96c0d40063e7f46d8dfc8d3feeb5.zip
Add __sqrt*_finite aliases for MIPS.
-rw-r--r--ChangeLog.mips6
-rw-r--r--sysdeps/mips/fpu/e_sqrt.c3
-rw-r--r--sysdeps/mips/fpu/e_sqrtf.c3
-rw-r--r--sysdeps/mips/mips64/soft-fp/e_sqrtl.c3
4 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index 5d9d772422..78932d7a03 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -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)
diff --git a/sysdeps/mips/fpu/e_sqrt.c b/sysdeps/mips/fpu/e_sqrt.c
index 5449710aff..d1a8afc3c5 100644
--- a/sysdeps/mips/fpu/e_sqrt.c
+++ b/sysdeps/mips/fpu/e_sqrt.c
@@ -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
diff --git a/sysdeps/mips/fpu/e_sqrtf.c b/sysdeps/mips/fpu/e_sqrtf.c
index 3590ad46d5..da58b46f80 100644
--- a/sysdeps/mips/fpu/e_sqrtf.c
+++ b/sysdeps/mips/fpu/e_sqrtf.c
@@ -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
diff --git a/sysdeps/mips/mips64/soft-fp/e_sqrtl.c b/sysdeps/mips/mips64/soft-fp/e_sqrtl.c
index 81fd58ae1a..c2e1faf24a 100644
--- a/sysdeps/mips/mips64/soft-fp/e_sqrtl.c
+++ b/sysdeps/mips/mips64/soft-fp/e_sqrtl.c
@@ -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)