diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-06-25 08:47:13 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-06-25 08:47:13 +0530 |
commit | 911422da02cfb683f9d97c46e7a4049449ec1a23 (patch) | |
tree | caefccb492117744529606303b47f8df52b328f1 | |
parent | 0d749bbebad48b4c673a29af03d5c5dd151881de (diff) | |
download | glibc-911422da02cfb683f9d97c46e7a4049449ec1a23.zip glibc-911422da02cfb683f9d97c46e7a4049449ec1a23.tar.gz glibc-911422da02cfb683f9d97c46e7a4049449ec1a23.tar.bz2 |
Add compat symbols for scalb* in i386
Bring back symbols into libc.so for scalb* functions. They are no
longer used but unfortunately they're now part of the ABI.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sysdeps/i386/fpu/s_scalbn.S | 5 | ||||
-rw-r--r-- | sysdeps/i386/fpu/s_scalbnf.S | 5 | ||||
-rw-r--r-- | sysdeps/i386/fpu/s_scalbnl.S | 5 |
5 files changed, 23 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com> + + [BZ #17086] + * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so. + * sysdeps/i386/fpu/s_scalbnf.S: Likewise. + * sysdeps/i386/fpu/s_scalbnl.S: Likewise. + 2014-06-24 Roland McGrath <roland@hack.frob.com> * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ... @@ -21,7 +21,7 @@ Version 2.20 16888, 16890, 16912, 16915, 16916, 16917, 16918, 16922, 16927, 16928, 16932, 16943, 16958, 16965, 16966, 16967, 16977, 16978, 16984, 16990, 16996, 17009, 17022, 17031, 17042, 17048, 17050, 17058, 17061, 17062, - 17069, 17075, 17079, 17084. + 17069, 17075, 17079, 17084, 17086. * Optimized strchr implementation for AArch64. Contributed by ARM Ltd. diff --git a/sysdeps/i386/fpu/s_scalbn.S b/sysdeps/i386/fpu/s_scalbn.S index 548f19f..cc9d708 100644 --- a/sysdeps/i386/fpu/s_scalbn.S +++ b/sysdeps/i386/fpu/s_scalbn.S @@ -16,3 +16,8 @@ ENTRY(__scalbn) END (__scalbn) weak_alias (__scalbn, scalbn) strong_alias (__scalbn, __scalbln) + +#include <shlib-compat.h> +#if SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_20) +compat_symbol (libc, __scalbn, scalbln, GLIBC_2_1); +#endif diff --git a/sysdeps/i386/fpu/s_scalbnf.S b/sysdeps/i386/fpu/s_scalbnf.S index fe6516e..0de0694 100644 --- a/sysdeps/i386/fpu/s_scalbnf.S +++ b/sysdeps/i386/fpu/s_scalbnf.S @@ -16,3 +16,8 @@ ENTRY(__scalbnf) END (__scalbnf) weak_alias (__scalbnf, scalbnf) strong_alias (__scalbnf, __scalblnf) + +#include <shlib-compat.h> +#if SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_20) +compat_symbol (libc, __scalbnf, scalblnf, GLIBC_2_1); +#endif diff --git a/sysdeps/i386/fpu/s_scalbnl.S b/sysdeps/i386/fpu/s_scalbnl.S index 8f65de4..8da0b00 100644 --- a/sysdeps/i386/fpu/s_scalbnl.S +++ b/sysdeps/i386/fpu/s_scalbnl.S @@ -17,3 +17,8 @@ ENTRY(__scalbnl) END (__scalbnl) weak_alias (__scalbnl, scalbnl) strong_alias (__scalbnl, __scalblnl) + +#include <shlib-compat.h> +#if SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_20) +compat_symbol (libc, __scalbnl, scalblnl, GLIBC_2_1); +#endif |