* sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Use GLIBC_2_1

instead of GLIBC_2_0.
	* sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Likewise.
	* sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
	* sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
	* sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Include
	math_ldbl_opt.h.
	(llrintl): Add @GLIBC_2.1 compat symbol.
This commit is contained in:
Jakub Jelinek 2007-07-12 18:21:34 +00:00
parent 67ac822c42
commit 40fb9908b0
6 changed files with 23 additions and 8 deletions

View File

@ -1,3 +1,14 @@
2007-03-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Use GLIBC_2_1
instead of GLIBC_2_0.
* sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Likewise.
* sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
* sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
* sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Include
math_ldbl_opt.h.
(llrintl): Add @GLIBC_2.1 compat symbol.
2006-10-20 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file.

View File

@ -32,6 +32,6 @@ weak_alias (__round, round)
weak_alias (__round, roundl)
strong_alias (__round, __roundl)
#endif
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
compat_symbol (libm, __round, roundl, GLIBC_2_0)
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
compat_symbol (libm, __round, roundl, GLIBC_2_1)
#endif

View File

@ -32,6 +32,6 @@ weak_alias (__trunc, trunc)
weak_alias (__trunc, truncl)
strong_alias (__trunc, __truncl)
#endif
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
compat_symbol (libm, __trunc, truncl, GLIBC_2_0)
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
compat_symbol (libm, __trunc, truncl, GLIBC_2_1)
#endif

View File

@ -18,6 +18,7 @@
02110-1301 USA. */
#include <sysdep.h>
#include <math_ldbl_opt.h>
/* long long int[r3, r4] __llrint (double x[fp1]) */
ENTRY (__llrint)
@ -41,3 +42,6 @@ weak_alias (__llrint, llrint)
strong_alias (__llrint, __llrintl)
weak_alias (__llrint, llrintl)
#endif
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
compat_symbol (libm, __llrint, llrintl, GLIBC_2_1)
#endif

View File

@ -33,6 +33,6 @@ weak_alias (__round, round)
weak_alias (__round, roundl)
strong_alias (__round, __roundl)
#endif
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
compat_symbol (libm, __round, roundl, GLIBC_2_0)
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
compat_symbol (libm, __round, roundl, GLIBC_2_1)
#endif

View File

@ -33,6 +33,6 @@ weak_alias (__trunc, trunc)
weak_alias (__trunc, truncl)
strong_alias (__trunc, __truncl)
#endif
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
compat_symbol (libm, __trunc, truncl, GLIBC_2_0)
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
compat_symbol (libm, __trunc, truncl, GLIBC_2_1)
#endif