From 9f8765bc46dbb4991dc20905c5d10d867956d489 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 13 Feb 2004 18:17:54 +0000 Subject: Update. 2004-02-13 Jakub Jelinek * 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. --- sysdeps/powerpc/powerpc64/fpu/s_llrint.c | 2 +- sysdeps/powerpc/powerpc64/fpu/s_llrintf.c | 4 ++-- sysdeps/powerpc/powerpc64/fpu/s_lrint.S | 2 ++ sysdeps/powerpc/powerpc64/fpu/s_lrintf.S | 1 - 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 sysdeps/powerpc/powerpc64/fpu/s_lrint.S delete mode 100644 sysdeps/powerpc/powerpc64/fpu/s_lrintf.S (limited to 'sysdeps/powerpc/powerpc64') 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 */ -- cgit 1.4.1