about summary refs log tree commit diff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc')
-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  */