From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjAzM-00081Q-Sd for qemu-devel@nongnu.org; Thu, 03 Sep 2009 08:00:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjAzI-0007zX-70 for qemu-devel@nongnu.org; Thu, 03 Sep 2009 08:00:28 -0400 Received: from [199.232.76.173] (port=33056 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjAzI-0007zM-09 for qemu-devel@nongnu.org; Thu, 03 Sep 2009 08:00:24 -0400 Received: from mail.gmx.net ([213.165.64.20]:58081) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MjAzH-0003pj-Bo for qemu-devel@nongnu.org; Thu, 03 Sep 2009 08:00:23 -0400 Date: Thu, 3 Sep 2009 14:00:10 +0200 From: Reimar =?iso-8859-1?Q?D=F6ffinger?= Subject: Re: [Qemu-devel] [PATCH v2] Build *-user targets as PIE Message-ID: <20090903120010.GA27116@1und1.de> References: <87ljkxibay.fsf@lechat.rtp-net.org> <1251980117-10089-1-git-send-email-kirill@shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1251980117-10089-1-git-send-email-kirill@shutemov.name> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Kirill A. Shutemov" Cc: qemu-devel@nongnu.org On Thu, Sep 03, 2009 at 03:15:17PM +0300, Kirill A. Shutemov wrote: > Now we can drop link hack for i386 and fix text relocations on i386 host. > > v2: > - Add configure options do enable/disable PIE for usermode targets. > Disabling can be useful if you build uswing toolchain which has > broken PIE support. PIE for usermode targets enabled by default. Hm. Would be nice if the commit message said more about the "why". What is the advantage of PIE (I mean, is there something special about qemu that makes it particularly useful)? Is there any measurable speed difference between PIE and no PIE? (sorry if it was explained for v1, I must have missed that one)