From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125213 invoked by alias); 17 Sep 2018 21:46:45 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 124993 invoked by uid 89); 17 Sep 2018 21:46:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=Hx-languages-length:452, Han X-HELO: relay1.mentorg.com Date: Mon, 17 Sep 2018 21:46:00 -0000 From: Joseph Myers To: Mao Han CC: , , Subject: Re: [PATCH v4 01/13] C-SKY: ABI related code In-Reply-To: <369062ae95df6648125b91354f707911cf8738de.1536720821.git.han_mao@c-sky.com> Message-ID: References: <369062ae95df6648125b91354f707911cf8738de.1536720821.git.han_mao@c-sky.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2018-09/txt/msg00260.txt.bz2 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