From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25577 invoked by alias); 18 Jul 2007 19:10:33 -0000 Received: (qmail 25559 invoked by uid 22791); 18 Jul 2007 19:10:31 -0000 X-Spam-Check-By: sourceware.org Received: from sccrmhc13.comcast.net (HELO sccrmhc13.comcast.net) (204.127.200.83) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 18 Jul 2007 19:10:25 +0000 Received: from lucon.org ([24.6.230.138]) by comcast.net (sccrmhc13) with ESMTP id <2007071819102301300a1s6pe>; Wed, 18 Jul 2007 19:10:23 +0000 Received: by lucon.org (Postfix, from userid 500) id BF8B7F824D; Wed, 18 Jul 2007 12:10:22 -0700 (PDT) Date: Wed, 18 Jul 2007 21:06:00 -0000 From: "H.J. Lu" To: Ian Lance Taylor , binutils@sourceware.org, rth@redhat.com, richard@codesourcery.com Subject: Re: Fix assertion failure on aliases of dynamic weak symbols Message-ID: <20070718191022.GA24694@lucon.org> References: <87k5t0ff65.fsf@firetop.home> <20070716203505.GA15885@lucon.org> <20070717131132.GA17994@lucon.org> <20070718134451.GA23380@lucon.org> <87644hzost.fsf@firetop.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87644hzost.fsf@firetop.home> User-Agent: Mutt/1.5.14 (2007-02-12) Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00318.txt.bz2 On Wed, Jul 18, 2007 at 04:58:42PM +0100, Richard Sandiford wrote: > "H.J. Lu" writes: > > I think the proper way to fix this is > > > > 1. Select a different section for linker created symbol to avoid false > > symbol alias in a shared library. > > I disagree. If the linker script defines a symbol in a section statement, > why shouldn't the symbol belong to that section? I'm bet folk out there > are relying on that behaviour. > I had an impression that linker tried to pick a section for linker defined symbols. I was wrong. H.J.