diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-05-01 01:10:20 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-12-01 18:36:33 +0100 |
commit | 291392f02a27b4d95fdb60e98cb8774d584497ba (patch) | |
tree | 7ee684bf493f92e1471e57998bce8829dcbf561c | |
parent | b9584b603af976915f887de46f4ab9fb6c44b69b (diff) | |
download | glibc-291392f02a27b4d95fdb60e98cb8774d584497ba.tar.gz glibc-291392f02a27b4d95fdb60e98cb8774d584497ba.tar.xz glibc-291392f02a27b4d95fdb60e98cb8774d584497ba.zip |
Fix missing nearbyintl@GLIBC_2.1 on powerpc
(cherry picked from commit 412bd96612ff5422befb98e990b66d10c26a4b21)
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S | 6 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S | 6 |
4 files changed, 15 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog index c9eaa23430..591e1f1805 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-05-01 Andreas Schwab <schwab@linux-m68k.org> + + [BZ #14040] + * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define + in version GLIBC_2.1, not GLIBC_2.0. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl): + Likewise. + 2012-10-04 H.J. Lu <hongjiu.lu@intel.com> [BZ #14648] diff --git a/NEWS b/NEWS index f26e2f4bd6..57e9a85683 100644 --- a/NEWS +++ b/NEWS @@ -11,7 +11,7 @@ Version 2.15.1 411, 2547, 2548, 11365, 11494, 13583, 13731, 13732, 13733, 13747, 13748, 13749, 13753, 13771, 13774, 13786, 14048, 14059, 14167, 14273, 14459, - 14621, 14648 + 14621, 14648, 14040 Version 2.15 diff --git a/sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S b/sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S index 0102aa3318..bccea8bfc8 100644 --- a/sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S +++ b/sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S @@ -1,5 +1,5 @@ /* Round to int floating-point values. PowerPC32 version. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011 @@ -75,6 +75,6 @@ weak_alias (__nearbyint, nearbyint) weak_alias (__nearbyint, nearbyintl) strong_alias (__nearbyint, __nearbyintl) #endif -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) -compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_0) +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_1) #endif diff --git a/sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S b/sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S index 436160f48e..8ea1472beb 100644 --- a/sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S +++ b/sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S @@ -1,5 +1,5 @@ /* Round to int floating-point values. PowerPC64 version. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011 @@ -63,6 +63,6 @@ weak_alias (__nearbyint, nearbyint) weak_alias (__nearbyint, nearbyint) strong_alias (__nearbyint, __nearbyintl) #endif -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) -compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_0) +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_1) #endif |