Received: from eggs.gnu.org ([140.186.70.92]:51649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkOIU-0001Fk-Nz for qemu-devel@nongnu.org; Mon, 09 Jan 2012 18:06:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkOIT-0008EO-60 for qemu-devel@nongnu.org; Mon, 09 Jan 2012 18:06:34 -0500 Received: from hall.aurel32.net ([88.191.126.93]:41497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkOIS-0008EK-Uj for qemu-devel@nongnu.org; Mon, 09 Jan 2012 18:06:33 -0500 Date: Tue, 10 Jan 2012 00:06:32 +0100 From: Aurelien Jarno Message-ID: <20120109230632.GB711@hall.aurel32.net> References: <1325967395-1633-1-git-send-email-aurelien@aurel32.net> <578C82B4-78FF-4C41-82E7-5505B2148880@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <578C82B4-78FF-4C41-82E7-5505B2148880@suse.de> Sender: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] ppc-linux-user: Fix missing symbols in .rel/.rela.plt sections List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel@nongnu.org On Mon, Jan 09, 2012 at 02:31:15PM +0100, Alexander Graf wrote: > > On 07.01.2012, at 21:16, Aurelien Jarno wrote: > > > Fix .rel.plt sections in the output to not only include .rel.plt > > sections from the input but also the .rel.iplt sections and to define > > the hidden symbols __rel_iplt_start and __rel_iplt_end around > > .rel.iplt as otherwise we get undefined references to these when > > linking statically to a multiarch enabled libc (using STT_GNU_IFUNC). > > Please see: > > http://patchwork.ozlabs.org/patch/130932/ > > I'd still say that we should fix the linker scripts regardless. Also for 1.0. I agree that we should either remove them or fix them. Not fixing them because they should not be there, but at the same time not removing them is a bad idea. On my side I have also tested that it can work with PROVIDE instead of PROVIDE_HIDDEN, so we end-up with the same patches. Now how should we proceed to merge that to master, which is the first step before getting that into stable? -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net