From fce14d4e9c6e08ad8c825fe88d8cbdac5c739565 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 26 Mar 2013 10:01:57 -0300 Subject: PowerPC: fix libm ABI issue for llroundl --- sysdeps/powerpc/fpu/s_llround.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps/powerpc/fpu') 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 @@ . */ #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 -- cgit v1.2.3