Received: from eggs.gnu.org ([140.186.70.92]:52354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkfVq-0004xk-Ty for qemu-devel@nongnu.org; Tue, 10 Jan 2012 12:29:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkfVl-0001pr-12 for qemu-devel@nongnu.org; Tue, 10 Jan 2012 12:29:30 -0500 Received: from hall.aurel32.net ([88.191.126.93]:41490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkfVk-0001pU-Sg for qemu-devel@nongnu.org; Tue, 10 Jan 2012 12:29:24 -0500 Date: Tue, 10 Jan 2012 18:29:22 +0100 From: Aurelien Jarno Message-ID: <20120110172922.GJ20942@hall.aurel32.net> References: <1325967395-1633-1-git-send-email-aurelien@aurel32.net> <578C82B4-78FF-4C41-82E7-5505B2148880@suse.de> <20120109230632.GB711@hall.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: 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 Tue, Jan 10, 2012 at 12:11:33AM +0100, Alexander Graf wrote: > > On 10.01.2012, at 00:06, Aurelien Jarno wrote: > > > 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? > > Either apply yours and rebase mine on top, so ppc64 is fixed too, or apply mine :). I'm rather indifferent on that one. > I have just applied yours. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net