mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Fix __finitel libm compat symbol version.
The changes to restrict implementation-namespace symbol aliases such as __finitel to compat symbols used code for __finitel in libm analogous to that for __finitel in libc. However, the versions for the two symbols are actually different, GLIBC_2.0 in libc and GLIBC_2.1 in libm. This patch fixes the handling of the libm compat symbol. Tested for mips (o32), where it fixes an ABI test failure. * sysdeps/ieee754/dbl-64/s_finite.c [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in SHLIB_COMPAT condition for libm, not GLIBC_2_0. * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
This commit is contained in:
parent
00b85374a9
commit
dcb133b7a4
@ -1,5 +1,12 @@
|
||||
2016-01-20 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/ieee754/dbl-64/s_finite.c
|
||||
[NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
|
||||
compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
|
||||
SHLIB_COMPAT condition for libm, not GLIBC_2_0.
|
||||
* sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
|
||||
[NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
|
||||
|
||||
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
|
||||
(__gtsf2): Add as optional for libc.so.
|
||||
(__unordsf2): Likewise.
|
||||
|
@ -42,8 +42,8 @@ weak_alias (__finite, finite)
|
||||
# if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_23)
|
||||
compat_symbol (libc, __finite, __finitel, GLIBC_2_0);
|
||||
# endif
|
||||
# if SHLIB_COMPAT (libm, GLIBC_2_0, GLIBC_2_23)
|
||||
compat_symbol (libm, __finite, __finitel, GLIBC_2_0);
|
||||
# if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_23)
|
||||
compat_symbol (libm, __finite, __finitel, GLIBC_2_1);
|
||||
# endif
|
||||
# endif
|
||||
weak_alias (__finite, finitel)
|
||||
|
@ -34,8 +34,8 @@ weak_alias (__finite, finite)
|
||||
# if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_23)
|
||||
compat_symbol (libc, __finite, __finitel, GLIBC_2_0);
|
||||
# endif
|
||||
# if SHLIB_COMPAT (libm, GLIBC_2_0, GLIBC_2_23)
|
||||
compat_symbol (libm, __finite, __finitel, GLIBC_2_0);
|
||||
# if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_23)
|
||||
compat_symbol (libm, __finite, __finitel, GLIBC_2_1);
|
||||
# endif
|
||||
# endif
|
||||
weak_alias (__finite, finitel)
|
||||
|
Loading…
Reference in New Issue
Block a user