File: mcount.c

package info (click to toggle)
glibc 2.19-18%2Bdeb8u9
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 204,712 kB
  • ctags: 145,148
  • sloc: ansic: 970,427; asm: 241,207; sh: 10,069; makefile: 8,476; cpp: 3,595; perl: 2,077; pascal: 1,839; awk: 1,704; yacc: 317; sed: 73
file content (17 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (38)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.  */
versioned_symbol (libc, ___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