From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2318 invoked by alias); 14 Jul 2010 16:17:06 -0000 Received: (qmail 2304 invoked by uid 22791); 14 Jul 2010 16:17:05 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-px0-f175.google.com (HELO mail-px0-f175.google.com) (209.85.212.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Jul 2010 16:16:50 +0000 Received: by pxi12 with SMTP id 12so33238pxi.20 for ; Wed, 14 Jul 2010 09:16:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.163.8 with SMTP id l8mr21017894wfe.227.1279124192425; Wed, 14 Jul 2010 09:16:32 -0700 (PDT) Received: by 10.142.226.18 with HTTP; Wed, 14 Jul 2010 09:16:32 -0700 (PDT) In-Reply-To: <4C3DE10C.3050804@codesourcery.com> References: <4C3DDDDC.9050900@codesourcery.com> <4C3DE10C.3050804@codesourcery.com> Date: Wed, 14 Jul 2010 16:17:00 -0000 Message-ID: Subject: Re: IFUNC attribute From: "H.J. Lu" To: Nathan Sidwell Cc: GCC Patches Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg01169.txt.bz2 On Wed, Jul 14, 2010 at 9:08 AM, Nathan Sidwell wrote: > On 07/14/10 16:57, H.J. Lu wrote: > >> I don't see much value in this than the current scheme. I don't >> think it should go in. > > GCC doesn't have a current scheme for handling ifunc functions, I believe > you have to hack it up with asm inserts -- the same could be done to provide > the functionality of the alias attribute, and yet it is in GCC. > As I said before, the current asm statement scheme works to certain degree. As far as user is concerned, your scheme is very similar and has the same drawbacks. -- H.J.