[PATCH] Fix missing _mcount@GLIBC_2.0 on powerpc32

Andreas Schwab schwab@linux-m68k.org
Wed May 2 12:01:00 GMT 2012


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."



More information about the Libc-alpha mailing list