about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/fpu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-13 18:17:54 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-13 18:17:54 +0000
commit9f8765bc46dbb4991dc20905c5d10d867956d489 (patch)
tree5e07c7de3c65d29f99c47045e1758c77f4853bfc /sysdeps/powerpc/powerpc64/fpu
parent219304ecbbb8dab55a788dd3bbb31b3ce01d88a9 (diff)
downloadglibc-9f8765bc46dbb4991dc20905c5d10d867956d489.tar.gz
glibc-9f8765bc46dbb4991dc20905c5d10d867956d489.tar.xz
glibc-9f8765bc46dbb4991dc20905c5d10d867956d489.zip
Update.
2004-02-13  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/powerpc/powerpc64/fpu/s_llrintf.c (__lrintf, lrintf):
	Define.
	(__lrintl, lrintl): Remove.
	* sysdeps/powerpc/powerpc64/fpu/s_llrint.c (__lrint): Fix a typo in
	strong_alias spelling.
	* sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: Remove.
	* sysdeps/powerpc/powerpc64/fpu/s_lrint.S: New file.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/fpu')
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_llrint.c2
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_llrintf.c4
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_lrint.S2
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/s_lrintf.S1
4 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/powerpc/powerpc64/fpu/s_llrint.c b/sysdeps/powerpc/powerpc64/fpu/s_llrint.c
index 907299ba3e..f6ea3f4e0f 100644
--- a/sysdeps/powerpc/powerpc64/fpu/s_llrint.c
+++ b/sysdeps/powerpc/powerpc64/fpu/s_llrint.c
@@ -35,7 +35,7 @@ __llrint (double x)
 {
   return (long long int) __rint (x);
 }
-string_alias (__llrint, __lrint)
+strong_alias (__llrint, __lrint)
 weak_alias (__llrint, llrint)
 weak_alias (__lrint, lrint)
 #ifdef NO_LONG_DOUBLE
diff --git a/sysdeps/powerpc/powerpc64/fpu/s_llrintf.c b/sysdeps/powerpc/powerpc64/fpu/s_llrintf.c
index 90db250e95..7d8e22a700 100644
--- a/sysdeps/powerpc/powerpc64/fpu/s_llrintf.c
+++ b/sysdeps/powerpc/powerpc64/fpu/s_llrintf.c
@@ -18,8 +18,8 @@
    02111-1307 USA.  */
 
 /* Kludge to avoid decls that will confuse strong_alias below.  */
-#define __lrintl XXX__lrintf
-#define lrintl XXXlrintf
+#define __lrintf XXX__lrintf
+#define lrintf XXXlrintf
 
 #include "math.h"
 
diff --git a/sysdeps/powerpc/powerpc64/fpu/s_lrint.S b/sysdeps/powerpc/powerpc64/fpu/s_lrint.S
new file mode 100644
index 0000000000..fe774693b7
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/fpu/s_lrint.S
@@ -0,0 +1,2 @@
+/* __lrint is in s_llrint.c  */
+/* __lrint is in s_llrint.c  */
diff --git a/sysdeps/powerpc/powerpc64/fpu/s_lrintf.S b/sysdeps/powerpc/powerpc64/fpu/s_lrintf.S
deleted file mode 100644
index 3ea4e29319..0000000000
--- a/sysdeps/powerpc/powerpc64/fpu/s_lrintf.S
+++ /dev/null
@@ -1 +0,0 @@
-/* __lrintf is in s_llrintf.c  */