From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25333 invoked by alias); 3 Mar 2005 16:55:17 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 25222 invoked from network); 3 Mar 2005 16:55:12 -0000 Received: from unknown (HELO rwcrmhc11.comcast.net) (216.148.227.89) by sourceware.org with SMTP; 3 Mar 2005 16:55:12 -0000 Received: from lucon.org ([24.6.212.230]) by comcast.net (rwcrmhc14) with ESMTP id <20050303165511014002v6nbe>; Thu, 3 Mar 2005 16:55:11 +0000 Received: by lucon.org (Postfix, from userid 1000) id 0422297F22; Thu, 3 Mar 2005 08:55:10 -0800 (PST) Date: Thu, 03 Mar 2005 16:55:00 -0000 From: "H. J. Lu" To: binutils@sources.redhat.com Subject: Re: RFC: -Bsymbolic, hidden and protected Message-ID: <20050303165510.GA10048@lucon.org> References: <20050303041459.GA31146@lucon.org> <20050303124913.GE376@bubble.modra.org> <20050303155504.GA9120@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050303155504.GA9120@lucon.org> User-Agent: Mutt/1.4.1i X-SW-Source: 2005-03/txt/msg00113.txt.bz2 On Thu, Mar 03, 2005 at 07:55:04AM -0800, H. J. Lu wrote: > On Thu, Mar 03, 2005 at 11:19:13PM +1030, Alan Modra wrote: > > On Wed, Mar 02, 2005 at 08:14:59PM -0800, H. J. Lu wrote: > > > Protected visibility has almost everything, but requires > > > special handling at run-time. > > > > > > I was wondering if we could allow version script to overwrite > > > hidden symbols. That is if a symbol is global in version script, we > > > export it even if it is marked hidden. It may improve run-time > > > performance. > > > > How is this going to be different from using protected symbols? > > No run-time special handling accociated with protected symbols, which > may take extra lookup. Also compiler/linker can't optimize protected function pointers. H.J.