From: Adhemerval Zanella Date: Tue, 26 Mar 2013 13:01:57 +0000 (-0300) Subject: PowerPC: fix libm ABI issue for llroundl X-Git-Tag: upstream/2.30~9287 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fce14d4e9c6e08ad8c825fe88d8cbdac5c739565;p=external%2Fglibc.git PowerPC: fix libm ABI issue for llroundl --- diff --git a/ChangeLog b/ChangeLog index 24c472b..2fab9b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-03-25 Adhemerval Zanella + + * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing + llroundl symbol when building for PPC32. + 2013-03-24 Mark H Weaver * manual/arith.texi (Normalization Functions): Fix prototypes for diff --git a/sysdeps/powerpc/fpu/s_llround.c b/sysdeps/powerpc/fpu/s_llround.c index b53d6ee..9a01826 100644 --- a/sysdeps/powerpc/fpu/s_llround.c +++ b/sysdeps/powerpc/fpu/s_llround.c @@ -17,6 +17,7 @@ . */ #include +#include /* I think that what this routine is supposed to do is round a value to the nearest integer, with values exactly on the boundary rounded @@ -47,3 +48,6 @@ weak_alias (__llround, llround) strong_alias (__llround, __llroundl) weak_alias (__llround, llroundl) #endif +#if LONG_DOUBLE_COMPAT (libm, GLIBC_2_1) +compat_symbol (libm, __llround, llroundl, GLIBC_2_1); +#endif