about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-03-26 10:01:57 -0300
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-03-26 10:01:57 -0300
commitfce14d4e9c6e08ad8c825fe88d8cbdac5c739565 (patch)
tree2479d6574f708883e54b9d6d43e8bea80dd978b2 /sysdeps
parent9ad027fb30f8b4d07dbf103a245bfb1c73394897 (diff)
downloadglibc-fce14d4e9c6e08ad8c825fe88d8cbdac5c739565.tar.gz
glibc-fce14d4e9c6e08ad8c825fe88d8cbdac5c739565.tar.xz
glibc-fce14d4e9c6e08ad8c825fe88d8cbdac5c739565.zip
PowerPC: fix libm ABI issue for llroundl
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/fpu/s_llround.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/powerpc/fpu/s_llround.c b/sysdeps/powerpc/fpu/s_llround.c
index b53d6eed8f..9a01826539 100644
--- a/sysdeps/powerpc/fpu/s_llround.c
+++ b/sysdeps/powerpc/fpu/s_llround.c
@@ -17,6 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <math_ldbl_opt.h>
 
 /* 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