From 4076561cfa2a537917b2d6a38e337a4217b623a7 Mon Sep 17 00:00:00 2001 From: joseph Date: Tue, 12 Jun 2012 14:47:12 +0000 Subject: Merge changes between r18907 and r19077 from /fsf/trunk. git-svn-id: svn://svn.eglibc.org/trunk@19078 7b3dc134-2b1b-0410-93df-9e9f96275f8d --- libc/sysdeps/powerpc/powerpc32/mcount.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libc/sysdeps/powerpc/powerpc32/mcount.c (limited to 'libc/sysdeps/powerpc/powerpc32/mcount.c') 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 + +#define __mcount_internal ___mcount_internal + +#include + +#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 -- cgit v1.2.1