This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v4 01/13] C-SKY: ABI related code
On Wed, 12 Sep 2018, Mao Han wrote:
> +/* The canonical name for the function is `_mcount' in both C and asm,
> + but some old asm code might assume it's `mcount'. */
> +#undef mcount
> +weak_alias (_mcount, mcount)
That may be a reason to have this for old architectures, but you shouldn't
have old asm for a new architecture, so no need for an mcount alias.
--
Joseph S. Myers
joseph@codesourcery.com