From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3235 invoked by alias); 11 Dec 2007 01:32:56 -0000 Received: (qmail 3226 invoked by uid 22791); 11 Dec 2007 01:32:55 -0000 X-Spam-Check-By: sourceware.org Received: from omta04ps.mx.bigpond.com (HELO omta04ps.mx.bigpond.com) (144.140.83.156) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Dec 2007 01:32:46 +0000 Received: from oaamta05ps.mx.bigpond.com ([58.174.193.185]) by omta04ps.mx.bigpond.com with ESMTP id <20071211013244.KQBN18971.omta04ps.mx.bigpond.com@oaamta05ps.mx.bigpond.com> for ; Tue, 11 Dec 2007 01:32:44 +0000 Received: from bubble.grove.modra.org ([58.174.193.185]) by oaamta05ps.mx.bigpond.com with ESMTP id <20071211013244.MLVI14439.oaamta05ps.mx.bigpond.com@bubble.grove.modra.org>; Tue, 11 Dec 2007 01:32:44 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id D0BEA32E9AA; Tue, 11 Dec 2007 12:02:43 +1030 (CST) Date: Tue, 11 Dec 2007 01:32:00 -0000 From: Alan Modra To: Catherine Moore Cc: binutils@sourceware.org Subject: Re: [Patch] Prevent cloned symbols from being assigned to the wrong section Message-ID: <20071211013243.GD25752@bubble.grove.modra.org> Mail-Followup-To: Catherine Moore , binutils@sourceware.org References: <475DE46C.8060700@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <475DE46C.8060700@codesourcery.com> User-Agent: Mutt/1.5.9i X-IsSubscribed: yes 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-12/txt/msg00056.txt.bz2 On Mon, Dec 10, 2007 at 08:14:20PM -0500, Catherine Moore wrote: > bfd/ChangeLog: > > * elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if > the symbol's section is the undefined section. > > gas/testsuite/ChangeLog: > > elf/symtab.s: New test. > elf/symtab.d: New expected output. > elf/elf.exp: Run the new symbtab test. OK. -- Alan Modra Australia Development Lab, IBM