From patchwork Wed Dec 18 03:19:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181964 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp88139ile; Tue, 17 Dec 2019 19:22:06 -0800 (PST) X-Google-Smtp-Source: APXvYqxujFB8A84s9ml0KZdydB6F3unaPxFSMUuRuCKBMetSmw4ohox/FwrlQl5LAuwl68r9dsYL X-Received: by 2002:a05:6830:4a7:: with SMTP id l7mr138747otd.372.1576639326726; Tue, 17 Dec 2019 19:22:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576639326; cv=none; d=google.com; s=arc-20160816; b=e+DIh2lb7uvAsUfGL5pEovLGnkein3f2c9S2sPLwIIOEGiS5hxwa/DwA0Ce+U8ktR/ OM1SKDdA1SU9RJijEncaXxvQBGqaWdl2i9shk2me3S9mNSTofd5Em/tsEpxMulfN0W0z TeptqVlhKEbl8c0XzoB8EgOMPfFxAGWe6+rpykpV5nN+XQ68F/yacsOhEEVcyhpdiCh2 XxWimDofPlBL9ba+n90EeWaV6FTfzHIp/Zo5/iXqK4t1qCDvpu1rPT4TwiW12aIXLWp4 lJHmqNlc8mNNNSR/IACHM0lusCEDARoLo8hGFZ7Io2AECIk5qUU8lkNnxMkNlNAnqHEe nWQA== 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=U37ZVea/IPVlUTlCbim6MG1bzwxdwI6SbTuQBxQprmQ=; b=e0DY4bjd992bvpxHQf26LgNsIQySB5XcaY6r9F/1GZ9tW0+Ry1VlggC7rvXiq4PWoN FPBstLnbfIYHF0aHmYEa+hF3i4f7alb2mJe/+QQkIJXnGa+Kk3TUUyNJyD6GsSi9UVX9 KVsgP0b0rHTztsVJrJwt+p8UsDvj1MzN+Fhpc6tucJcZT/g66WkBDwnM4OE0S35FsKjo 6xIJm5+jBN3+mtYluk7fulDdsfnOs4Msj2TJwjapeAEeCI7+jMpyebgDvkwB4qebak3O FqwEojtCVpece3N1/38c0uHhgwZiNmSRihmw1+yV3rK/7aiYGF259/+RrxDCQpSO2wRf bd5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=O4sqalGr; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d140si568939oig.269.2019.12.17.19.22.06 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Dec 2019 19:22:06 -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=O4sqalGr; 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]:48966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihPuX-0007Mh-IW for patch@linaro.org; Tue, 17 Dec 2019 22:22:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44060) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihPs2-00044Z-HR for qemu-devel@nongnu.org; Tue, 17 Dec 2019 22:19:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihPs1-0002hF-KB for qemu-devel@nongnu.org; Tue, 17 Dec 2019 22:19:30 -0500 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:41927) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihPs1-0002gF-F4 for qemu-devel@nongnu.org; Tue, 17 Dec 2019 22:19:29 -0500 Received: by mail-pf1-x441.google.com with SMTP id w62so387819pfw.8 for ; Tue, 17 Dec 2019 19:19:29 -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=U37ZVea/IPVlUTlCbim6MG1bzwxdwI6SbTuQBxQprmQ=; b=O4sqalGrVEpEgA/aYiYZMesdGTR5zzjQ9y+d7OjxUqB7mb0KeKZezCUHmhHRyV6c7P QaePnNjrKRMhvBwd7jV0G06PCdsNPsG/w81xR4fC7r+jhZltfHUOcQmi+fbP+ohUoleD cBPgegVi3Ua9TlEER7EeS57W/BFaprT4qJ78r07pwe++hLPYR5NwYN7tahvLqUf2+PfL ZeelmluZ/DlQiHZyKclSqD2JOIz3IlqWKmvxLN2U41QdvWi3L5u5hO2wX4R7v8rUIwLl kTxF2e0PMHKYtzzTG4SO79QnaJHO7at+0NBW3YO9VwqZmup6pUE/pQu+Chdlb8ceftvB xs0w== 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=U37ZVea/IPVlUTlCbim6MG1bzwxdwI6SbTuQBxQprmQ=; b=RLDnURzqVYUZNq/Z43poRImuj4fp0nC1dYAxGkOxuv0469HIPN6a5SBFiUsxM5gXd9 x/G6rSzMwDZCtWG5zTmPBTP9snXFfc9wjzWznv8wRikwj6JGy1Zur7pWZ2pCgmdMYlp3 uEk5fR3fqt/jACU8cyKgY1NuL6yESSqeNdc+CAbOk1wXfWF09S0wVs2BfthkcF83BtKy mymCFpXOYIfWIzpXbmPQrh1m5obPMbJJ/oXpwSbPeSLHBfv9R3B0iKwJhpsWSYCksRbW rEI8p2uf8LToFp5R8+keNjinf9JkpkKfQ4QWPJAMdFlEr6XCjLREbJckTs33s5BhW9By uvYA== X-Gm-Message-State: APjAAAUyz4uqET0DkBxJgnQHGTdPmSV7Z/oIYoDdF9pbIffdEJPHS8qc O2LblwcywrwIlT70PtjiM2mg/+f5jZ8= X-Received: by 2002:a63:3f47:: with SMTP id m68mr276712pga.411.1576639168087; Tue, 17 Dec 2019 19:19:28 -0800 (PST) Received: from localhost.localdomain ([2605:e000:c74f:dc00:6838:d2b2:17e2:8445]) by smtp.gmail.com with ESMTPSA id k27sm404870pfp.66.2019.12.17.19.19.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2019 19:19:27 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 3/7] configure: Do not force pie=no for non-x86 Date: Tue, 17 Dec 2019 17:19:16 -1000 Message-Id: <20191218031920.6414-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191218031920.6414-1-richard.henderson@linaro.org> References: <20191218031920.6414-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::441 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: philmd@redhat.com, i@maskray.me, berrange@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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. Signed-off-by: Richard Henderson --- configure | 10 ---------- 1 file changed, 10 deletions(-) -- 2.20.1 diff --git a/configure b/configure index 255ac432af..2fb4457d7c 100755 --- a/configure +++ b/configure @@ -2012,16 +2012,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