about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-05-01 17:10:10 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2012-07-06 23:43:56 +0200
commit261f485936b283f4327fc1f2fc8fd1705d805c12 (patch)
treea21e7557201769629cb26e3bbb8069e53fed81d4 /sysdeps/powerpc/powerpc32/compat-ppc-mcount.S
parent9ad63c23eabdec1b625b1217b6635f34268ca342 (diff)
downloadglibc-261f485936b283f4327fc1f2fc8fd1705d805c12.tar.gz
glibc-261f485936b283f4327fc1f2fc8fd1705d805c12.tar.xz
glibc-261f485936b283f4327fc1f2fc8fd1705d805c12.zip
Fix missing _mcount@GLIBC_2.0 on powerpc32
Diffstat (limited to 'sysdeps/powerpc/powerpc32/compat-ppc-mcount.S')
-rw-r--r--sysdeps/powerpc/powerpc32/compat-ppc-mcount.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S b/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S
new file mode 100644
index 0000000000..2a9cb24072
--- /dev/null
+++ b/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S
@@ -0,0 +1,11 @@
+#include <shlib-compat.h>
+
+#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_15)
+
+	compat_text_section
+# define _mcount __compat_mcount
+# include "ppc-mcount.S"
+# undef _mcount
+
+compat_symbol (libc, __compat_mcount, _mcount, GLIBC_2_0)
+#endif