From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28425 invoked by alias); 4 Aug 2006 02:04:28 -0000 Received: (qmail 28416 invoked by uid 22791); 4 Aug 2006 02:04:26 -0000 X-Spam-Check-By: sourceware.org Received: from omta04sl.mx.bigpond.com (HELO omta04sl.mx.bigpond.com) (144.140.93.156) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Aug 2006 02:04:24 +0000 Received: from grove.modra.org ([60.226.255.233]) by omta04sl.mx.bigpond.com with ESMTP id <20060804020419.CNWG3131.omta04sl.mx.bigpond.com@grove.modra.org>; Fri, 4 Aug 2006 02:04:19 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 465ED1D9C8B; Fri, 4 Aug 2006 11:34:19 +0930 (CST) Date: Fri, 04 Aug 2006 02:04:00 -0000 From: Alan Modra To: David Edelsohn Cc: Steven Munroe , Richard Sandiford , binutils@sourceware.org Subject: Re: Link problems with section anchors Message-ID: <20060804020419.GC23605@bubble.grove.modra.org> Mail-Followup-To: David Edelsohn , Steven Munroe , Richard Sandiford , binutils@sourceware.org References: <44D2755E.9020600@us.ibm.com> <20060804013032.GB23605@bubble.grove.modra.org> <200608040149.k741nN831438@makai.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608040149.k741nN831438@makai.watson.ibm.com> User-Agent: Mutt/1.4i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00039.txt.bz2 On Thu, Aug 03, 2006 at 09:49:23PM -0400, David Edelsohn wrote: > Alan, > > Why is this failing with recent Binutils but not with Janis's > daily GCC builds, presumably with an older version of Binutils? Some older binutils are more tolerant of references to local syms in discarded linkone sections, resolving them to the same offset in the kept linkonce section. Which leads to a different sort of grief when the sections are not identical, eg. due to using different compilation options. -- Alan Modra IBM OzLabs - Linux Technology Centre