From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdR7d-0000I5-LY for qemu-devel@nongnu.org; Mon, 04 Nov 2013 15:51:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdR7Y-0006UW-It for qemu-devel@nongnu.org; Mon, 04 Nov 2013 15:51:41 -0500 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:50937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdR7Y-0006Tq-AL for qemu-devel@nongnu.org; Mon, 04 Nov 2013 15:51:36 -0500 Received: by mail-pa0-f54.google.com with SMTP id fa1so7504746pad.27 for ; Mon, 04 Nov 2013 12:51:35 -0800 (PST) Sender: Richard Henderson Message-ID: <527808CE.2090404@twiddle.net> Date: Tue, 05 Nov 2013 06:51:26 +1000 From: Richard Henderson MIME-Version: 1.0 References: <1383567545-16825-1-git-send-email-dvaleev@suse.com> In-Reply-To: <1383567545-16825-1-git-send-email-dvaleev@suse.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] configure: Enable pie for powerpc and arm Linux List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dinar Valeev , qemu-devel@nongnu.org Cc: Dinar Valeev , Dinar Valeev On 11/04/2013 10:19 PM, Dinar Valeev wrote: > From: Dinar Valeev > > This patch enables pie for PowerPC and ARM architectures > > Signed-off-by: Dinar Valeev > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 91372f9..0130e7e 100755 > --- a/configure > +++ b/configure > @@ -1297,7 +1297,7 @@ fi > > if test "$pie" = ""; then > case "$cpu-$targetos" in > - i386-Linux|x86_64-Linux|x32-Linux|i386-OpenBSD|x86_64-OpenBSD) > + i386-Linux|x86_64-Linux|x32-Linux|ppc*-Linux|arm*-Linux|aarch64*-Linux|i386-OpenBSD|x86_64-OpenBSD) I'd much prefer that we have a blacklist than a whitelist for this. Honestly, most ELF systems can support PIE, and we have very few non-ELF systems to support. r~