diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2017-11-29 Joseph Myers <joseph@codesourcery.com> + [BZ #22229] + * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include + <math_ldbl_opt.h>. + (fabsl): Define as compat symbol at version GLIBC_2_0 for libm. + * scripts/build-many-glibcs.py (Context.add_all_configs): Add SPARC --disable-multi-arch glibc variants. diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S b/sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S index bf51739b5a..716144630c 100644 --- a/sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S +++ b/sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S @@ -17,6 +17,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <math_ldbl_opt.h> ENTRY (__fabs) st %o0, [%sp+72] @@ -26,3 +27,6 @@ ENTRY (__fabs) fabsd %f0, %f0 END (__fabs) weak_alias (__fabs, fabs) +#if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0) +compat_symbol (libm, __fabs, fabsl, GLIBC_2_0); +#endif |