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

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


Alan Modra <amodra@gmail.com> writes:

> On Wed, May 02, 2012 at 11:49:58AM +0200, Andreas Schwab wrote:
>> 	* sysdeps/powerpc/powerpc32/old-ppc-mcount.S: New file.
>
> Except I called this compat-ppc-mcount.S, and made the old symbol
> hidden.

You don't need the latter, since it's not used except for attaching the
versioned alias.

>>  ifeq ($(subdir),gmon)
>> -sysdep_routines += ppc-mcount
>> +sysdep_routines += ppc-mcount old-ppc-mcount
>>  static-only-routines += ppc-mcount
>>  endif
>
> Add old-ppc-mcount to shared-only-routines here, to omit an empty
> object file in libc.a?

Yes, I missed that.

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