Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16

This commit is contained in:
Andreas Schwab 2012-05-02 10:24:39 +02:00
parent f34a1c6f5e
commit 173f722045
4 changed files with 30 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
[BZ #14042]
* sysdeps/powerpc/powerpc32/mcount.c: New file.
* sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
__mcount_internal.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
(GLIBC_2.16): Likewise.
2012-06-01 H.J. Lu <hongjiu.lu@intel.com> 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo. * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.

View File

@ -8,6 +8,9 @@ libc {
__fixsfdi; __fixunssfdi; __fixsfdi; __fixunssfdi;
__floatdidf; __floatdisf; __floatdidf; __floatdisf;
} }
GLIBC_2.16 {
__mcount_internal;
}
GLIBC_PRIVATE { GLIBC_PRIVATE {
__mcount_internal; __mcount_internal;
} }

View File

@ -0,0 +1,17 @@
#include <shlib-compat.h>
#define __mcount_internal ___mcount_internal
#include <gmon/mcount.c>
#undef __mcount_internal
/* __mcount_internal was added in glibc 2.15 with version GLIBC_PRIVATE,
but it should have been put in version GLIBC_2.15. Mark the
GLIBC_PRIVATE version obsolete and add it to GLIBC_2.16 instead. */
default_symbol_version (___mcount_internal, __mcount_internal, GLIBC_2.16);
#if SHLIB_COMPAT (libc, GLIBC_2_15, GLIBC_2_16)
strong_alias (___mcount_internal, ___mcount_internal_private);
symbol_version (___mcount_internal_private, __mcount_internal, GLIBC_PRIVATE);
#endif

View File

@ -1762,6 +1762,7 @@ GLIBC_2.15
GLIBC_2.16 GLIBC_2.16
GLIBC_2.16 A GLIBC_2.16 A
__getauxval F __getauxval F
__mcount_internal F
__poll_chk F __poll_chk F
__ppoll_chk F __ppoll_chk F
aligned_alloc F aligned_alloc F