Message ID | 20191218223441.23852-4-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp1282406ile; Wed, 18 Dec 2019 14:36:59 -0800 (PST) X-Google-Smtp-Source: APXvYqxkuqKAamqfvEXkce1g7kDKcBWE1cu1zTMBQ5KJWzsPuwgXURyO77fh4/+mb7WNjha4pyL+ X-Received: by 2002:a0c:acc6:: with SMTP id n6mr4816590qvc.26.1576708619035; Wed, 18 Dec 2019 14:36:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576708619; cv=none; d=google.com; s=arc-20160816; b=p2xtzCDM4ED6MRp2T4qPcZ1+BVHfk4OAIrsOJPcguewrJOSoJZTVFnw6XAdjl32dcs QuMSA2SOwo7HgadUszH0H4+e2A5IJKJIcOxIQbRm5O0mG+BoHzabD2ODvulHEN5fsxE0 b8rrHYWFQFJh52qKnd9BMRYQgxLwkJyYrIpHZkdCzb7gz1aK5A5YXJs63Vsl4qLAvOmw dWjDA2kl710MIVvF/LGmr0db097e3p0TkSjdKUnGJvoY7XBwy8UOzKSzwfKfNxT9rwSW MHwzVJ+WHPW+eBnLIM/4CIu/8KsRK0WTBqV5M4dM+1nOALA/YTcTpbSTgUV0VANTnmau C65Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=0o3CRcHml81TDDyh0N84h3eTIdNUcDVT7umUw0AUs+8=; b=mLgypKJcuoM/MjGZp4OQ8f55fjUYOUSGg2k1qPuaaxJWVria0zUpOo1eUR1D7UgAPi x5Plj4MiuIvanqBdRTdVrBFrabJO1sbj9LuM22mwmmsvwnbdUpCmZcZDpbqnz1jUuxtv lruZqBSZk585w+huaRg21+iYf1SV21/bfQD/hWqlc8XMNsTVAVZRUFF8oYlnAVMhebNP +mbLuDTFsKU6RHAOVvegg6mYqn3U2woiV2VAPIZ7a6b5XdBrEDWXtPXb+4w+XuXOpTgP tGIltIDKVlWcG2B9BGP1lcZoavq7s3ZW4nRpyicrkbocA5ioujW1tJtWCyCD5KlpkT1Q qq5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HR2MfF44; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w50si2062592qtw.281.2019.12.18.14.36.58 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Dec 2019 14:36:59 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HR2MfF44; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:33442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1ihhwA-00042F-GU for patch@linaro.org; Wed, 18 Dec 2019 17:36:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54325) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1ihhu8-0001TR-TG for qemu-devel@nongnu.org; Wed, 18 Dec 2019 17:34:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1ihhu7-0003w1-7C for qemu-devel@nongnu.org; Wed, 18 Dec 2019 17:34:52 -0500 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]:35925) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1ihhu7-0003vM-1l for qemu-devel@nongnu.org; Wed, 18 Dec 2019 17:34:51 -0500 Received: by mail-pj1-x1044.google.com with SMTP id n59so1547428pjb.1 for <qemu-devel@nongnu.org>; Wed, 18 Dec 2019 14:34:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0o3CRcHml81TDDyh0N84h3eTIdNUcDVT7umUw0AUs+8=; b=HR2MfF44BxE7XuFsa+AGcR4X/1uC7IYEpME0y22N1LeDn3WNWepPKKTh2fXYxUtDvO c4gvIIBcxIWCXLYQbSITVbVEeQfCG3IRfWEz1oZnjSv5AsRDdatqvbnaKppLLNIKy5vx G3YrMM5akcZyuclfP2sjypwIWZILQQBvm2GlSGVFJuCny2fp3qMixumgb6gdpzidVnGy 0hLa8cP6MwZ/lVIp/iBu5PNFjF/GT3WzvErYUfj7zSlmN9YErrKw9iGpdIA1DKPRtivG AwIShAkgcZ0a8TGeW8m0fLShsShYwAkrvdzPAVEurBCYiIq9G7nzSnBeFfdum3r4AO/G KcXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0o3CRcHml81TDDyh0N84h3eTIdNUcDVT7umUw0AUs+8=; b=ech60G1Ee4M6z6y6kp6ZU4XDzhlwrI5TH5rdlElQoJfkFXCkEh005wI4cqLYFh78cC zE7lHpv1Is6SVcjUJqmh11OtX+KhAFEOYOdsBAkCOH1YY/2TXx7RYViAe1NpI5j5s7Cs dNJJfQBixtlj9wY4no91VDPk9g1Y7HUA+iTRJhf0ivA/DAysqzsf8zAyhLY3zLRow4Vy iQO5U87hktOgk9CGdK6Lq75YCZPo0s7xPggYQRPzQM8zXjA2ju66NGjiHt3NUOgMMYF9 j/viCx3vR8O2EhODNcxJxX7hIj2tbs4Z5M6wiUxRoMOGO7P0ug8EZSo9MafGtqSvP71n Q8hw== X-Gm-Message-State: APjAAAWlmvXz1vIjWpF75jD/lZ/RgonTZILv+rwYwIjHRLj71asGABjK RZtxsrCTuTCpKr4jExWdNJHQX8SI3RA= X-Received: by 2002:a17:90a:5217:: with SMTP id v23mr5607953pjh.121.1576708489521; Wed, 18 Dec 2019 14:34:49 -0800 (PST) Received: from localhost.localdomain ([2605:e000:c74f:dc00:6838:d2b2:17e2:8445]) by smtp.gmail.com with ESMTPSA id j1sm4627779pff.107.2019.12.18.14.34.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2019 14:34:48 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v2 3/7] configure: Do not force pie=no for non-x86 Date: Wed, 18 Dec 2019 12:34:37 -1000 Message-Id: <20191218223441.23852-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191218223441.23852-1-richard.henderson@linaro.org> References: <20191218223441.23852-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::1044 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: philmd@redhat.com, i@maskray.me, berrange@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
configure: Improve PIE and other linkage
|
expand
|
diff --git a/configure b/configure index 30e3875c6b..99faf64a74 100755 --- a/configure +++ b/configure @@ -2018,16 +2018,6 @@ if ! compile_prog "-Werror" "" ; then "Thread-Local Storage (TLS). Please upgrade to a version that does." fi -if test "$pie" = ""; then - case "$cpu-$targetos" in - i386-Linux|x86_64-Linux|x32-Linux|i386-OpenBSD|x86_64-OpenBSD) - ;; - *) - pie="no" - ;; - esac -fi - if test "$pie" != "no" ; then cat > $TMPC << EOF
PIE is supported on many other hosts besides x86. The default for non-x86 is now the same as x86: pie is used if supported, and may be forced via --enable/--disable-pie. The original commit (40d6444e91c) said: "Non-x86 are not changed, as they require TCG changes" but I think that's wrong -- there's nothing about PIE that affects TCG one way or another. Tested on aarch64 (bionic) and ppc64le (centos 7) hosts. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- configure | 10 ---------- 1 file changed, 10 deletions(-) -- 2.20.1