From: Andreas Schwab Date: Mon, 30 Apr 2012 23:10:20 +0000 (+0200) Subject: Fix missing nearbyintl@GLIBC_2.1 on powerpc X-Git-Tag: glibc-2.16-tps~521 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=412bd96612ff5422befb98e990b66d10c26a4b21;p=platform%2Fupstream%2Fglibc.git Fix missing nearbyintl@GLIBC_2.1 on powerpc --- diff --git a/ChangeLog b/ChangeLog index a13a367..55e17eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-05-01 Andreas Schwab + + [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-04-30 Joseph Myers [BZ #13942] diff --git a/NEWS b/NEWS index c9848e6..fdf3621 100644 --- a/NEWS +++ b/NEWS @@ -22,7 +22,7 @@ Version 2.16 13844, 13846, 13851, 13852, 13854, 13871, 13872, 13873, 13879, 13883, 13886, 13892, 13895, 13908, 13910, 13911, 13912, 13913, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13924, 13926, 13927, 13928, 13938, - 13941, 13942, 13963, 13967, 13970, 13973, 14027, 14033, 14034 + 13941, 13942, 13963, 13967, 13970, 13973, 14027, 14033, 14034, 14040 * ISO C11 support: diff --git a/sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S b/sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S index e4b92fc..f07d981 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 , 2011 @@ -74,6 +74,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 3c42134..fefe08a 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 , 2011 @@ -62,6 +62,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