1 | #include <shlib-compat.h> |
2 | |
3 | #define __mcount_internal ___mcount_internal |
4 | |
5 | #include <gmon/mcount.c> |
6 | |
7 | #undef __mcount_internal |
8 | |
9 | /* __mcount_internal was added in glibc 2.15 with version GLIBC_PRIVATE, |
10 | but it should have been put in version GLIBC_2.15. Mark the |
11 | GLIBC_PRIVATE version obsolete and add it to GLIBC_2.16 instead. */ |
12 | versioned_symbol (libc, ___mcount_internal, __mcount_internal, GLIBC_2_16); |
13 | |
14 | #if SHLIB_COMPAT (libc, GLIBC_2_15, GLIBC_2_16) |
15 | strong_alias (___mcount_internal, ___mcount_internal_private); |
16 | symbol_version (___mcount_internal_private, __mcount_internal, GLIBC_PRIVATE); |
17 | #endif |
18 | |