This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix missing _mcount@GLIBC_2.0 on powerpc32
Another thing I missed is to put the compat code in the .text.compat
section.
--- a/sysdeps/powerpc/powerpc32/old-ppc-mcount.S
+++ b/sysdeps/powerpc/powerpc32/old-ppc-mcount.S
@@ -2,6 +2,7 @@
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_15)
+ compat_text_section
# define _mcount __old_mcount
# include "ppc-mcount.S"
# undef _mcount
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."