From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaVGS-0004SA-77 for qemu-devel@nongnu.org; Tue, 13 Dec 2011 11:31:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaVGQ-0003EB-Ti for qemu-devel@nongnu.org; Tue, 13 Dec 2011 11:31:36 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:45981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaVGQ-0003E3-MT for qemu-devel@nongnu.org; Tue, 13 Dec 2011 11:31:34 -0500 From: Paul Brook Date: Tue, 13 Dec 2011 16:31:28 +0000 References: <1323725761-5629-1-git-send-email-agraf@suse.de> <201112130619.08572.paul@codesourcery.com> <863E3590-2F0B-4D0C-8EB4-07DB2B4A96AE@suse.de> In-Reply-To: <863E3590-2F0B-4D0C-8EB4-07DB2B4A96AE@suse.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112131631.28969.paul@codesourcery.com> Subject: Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Peter Maydell , Riku Voipio , "dvaleev@suse.com" , "qemu-devel@nongnu.org" , Richard Henderson > On 13.12.2011, at 07:19, Paul Brook wrote: > >>> When compiling qemu statically with multilib on PPC, we hit the > >>> same issue that commit 845f2c2812d9ed24b36c02a3d06ee83aeafe8b49 > >>> is fixing. Do the same here. > >> > >> How many of these ld files can we get rid of if we use -Ttext-segment > >> instead? Generally all we're really caring about is moving the program > >> base around so that it doesn't conflict with the address space we want > >> to use for the client. > > > > Now that we have the automatic GUEST_BASE stuff you shouldn't need to do > > either. > > If it was working, yes :) What doesn't work? I put a fair amout of effort into making it automatically pick a sensible value. If there's some reason that won't work then you probably want to be using -R. Paul