From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2714 invoked by alias); 18 Jul 2007 15:58:51 -0000 Received: (qmail 2700 invoked by uid 22791); 18 Jul 2007 15:58:49 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 18 Jul 2007 15:58:45 +0000 Received: (qmail 17656 invoked from network); 18 Jul 2007 15:58:44 -0000 Received: from unknown (HELO gateway) (10.0.0.100) by mail.codesourcery.com with SMTP; 18 Jul 2007 15:58:44 -0000 Received: by gateway (Postfix, from userid 1010) id D54F86C0B6; Wed, 18 Jul 2007 08:58:43 -0700 (PDT) From: Richard Sandiford To: "H.J. Lu" Mail-Followup-To: "H.J. Lu" ,Ian Lance Taylor , binutils@sourceware.org, rth@redhat.com, richard@codesourcery.com Cc: Ian Lance Taylor , binutils@sourceware.org, rth@redhat.com Subject: Re: Fix assertion failure on aliases of dynamic weak symbols References: <87k5t0ff65.fsf@firetop.home> <20070716203505.GA15885@lucon.org> <20070717131132.GA17994@lucon.org> <20070718134451.GA23380@lucon.org> Date: Wed, 18 Jul 2007 18:23:00 -0000 In-Reply-To: <20070718134451.GA23380@lucon.org> (H. J. Lu's message of "Wed\, 18 Jul 2007 06\:44\:51 -0700") Message-ID: <87644hzost.fsf@firetop.home> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00315.txt.bz2 "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. Richard