diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-06-12 14:47:12 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-06-12 14:47:12 +0000 |
commit | 4076561cfa2a537917b2d6a38e337a4217b623a7 (patch) | |
tree | dba01f9005854a8a880a4cbe9b7736cfb931fd34 /libc/sysdeps/powerpc/powerpc32/mcount.c | |
parent | 0a57a4f8f1e443295267885e3d2048f6bbb0899f (diff) | |
download | eglibc2-4076561cfa2a537917b2d6a38e337a4217b623a7.tar.gz |
Merge changes between r18907 and r19077 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@19078 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/powerpc/powerpc32/mcount.c')
-rw-r--r-- | libc/sysdeps/powerpc/powerpc32/mcount.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/sysdeps/powerpc/powerpc32/mcount.c b/libc/sysdeps/powerpc/powerpc32/mcount.c new file mode 100644 index 000000000..0476bf61d --- /dev/null +++ b/libc/sysdeps/powerpc/powerpc32/mcount.c @@ -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 |