mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
18 lines
608 B
C
18 lines
608 B
C
|
#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
|