From patchwork Mon Apr 23 07:51:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 133971 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp697704lji; Mon, 23 Apr 2018 00:52:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqlQ0NRJHwJcsV11sK/dUN4InouMmeif4cs//BYHjS/W6kDfCQYeccP9INTGmUJUmjxeyZp X-Received: by 10.55.54.12 with SMTP id d12mr21353443qka.340.1524469978933; Mon, 23 Apr 2018 00:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524469978; cv=none; d=google.com; s=arc-20160816; b=JNJZP2ak+jJo5U2dsJm4Bvs5IsL12v9CaIuRSpM9bciCSuf2eaTHfORrB+jV/Ap2Lz kn0E2EsF1+PeIMge9TQSdmf6WK5IriRujWTS1m0JAG3inXd2QLNVEbB9JxCLbnQzAggK 4obo7dgLHs8hD1dBM2RuLm3aro0yZ8Zm4L77snYyhGOaC1sBHBPmBAiyCI+3GEOyQ9Mk YzpxKVHsuL2ci12rgEwxz4vHa2JB27h9U9Ots3ERNS491qmTpAIuGpPQ6FGLbhhGnJPe ygrtCikmDGD7u7UOdpZIyVf31OgHYDZv+W8r/fa45mUi3u/NfNmCcL539zoEHYeKCdl1 7+mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :arc-authentication-results; bh=VNZ3WKpaTzu3BoyCn9crmMV0ZM27aJ7A/C3qVNvKVh4=; b=VMH9ze+Oopn8/T+pmvgHuyJPT5Vw25dWSOCtFV3t0jaEJXOhU5779GO7+Ur2EjWQDW Ij2r7afaBYuvmBEtmM08mUJs4MsmCpd4g6fHdGZdphLLnS5qvft+6UY/QKJyYjK0vv34 Imta/st6JFqmrXHmYgwxaLf2dPrx80AR2G/WNg6g+BPtFrpAZRgXWYRoyKM5Y0Ikf0Qc 6Z+mzQ/apDHCfAKon3V6KscDmAJLHmlLoU+Imx4VTDpUJtfmZ7VBXgEDjpnkyIe+VuoE fXbuUVgGdmruxuPUQobhrzAzWMxNxBp+bEOMfv9OHiRnNJtIjA3zraTPwphD2lru5hqo y7Mw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id f13-v6si43746qtf.100.2018.04.23.00.52.58 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 23 Apr 2018 00:52:58 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Received: from localhost ([::1]:51865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAWHS-0008Hb-Fs for patch@linaro.org; Mon, 23 Apr 2018 03:52:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAWH4-0008GG-JU for qemu-devel@nongnu.org; Mon, 23 Apr 2018 03:52:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAWH1-0008RZ-IH for qemu-devel@nongnu.org; Mon, 23 Apr 2018 03:52:34 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:25560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fAWH1-0008QS-8B for qemu-devel@nongnu.org; Mon, 23 Apr 2018 03:52:31 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w3N7nTiV027813; Mon, 23 Apr 2018 09:52:20 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2hfu2tsgsf-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 23 Apr 2018 09:52:20 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0076C31; Mon, 23 Apr 2018 07:52:19 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B262714D0; Mon, 23 Apr 2018 07:52:19 +0000 (GMT) Received: from gnb.st.com (10.75.127.48) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 23 Apr 2018 09:52:19 +0200 From: Christophe Lyon To: , , , , Date: Mon, 23 Apr 2018 09:51:51 +0200 Message-ID: <20180423075215.4572-1-christophe.lyon@st.com> X-Mailer: git-send-email 2.9.5 MIME-Version: 1.0 X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG4NODE3.st.com (10.75.127.12) To SFHDAG5NODE1.st.com (10.75.127.13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-23_04:, , signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 62.209.51.94 Subject: [Qemu-devel] [ARM/FDPIC v2 0/4] FDPIC ABI for ARM X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hello, This is v2 of: https://lists.gnu.org/archive/html/qemu-devel/2018-04/msg00783.html Compared to v1, I have addressed Peter's comments: - patch #1 removes CONFIG_USE_FDPIC - patch #2 corresponds to the previous patch #1, and is now simpler without configure option - patch #3 corresponds to the previous patch #2, and uses TaskState instead of CPUARMState - patch #4 corresponds to the previous patch #3, and fixes guest pointer dereferencing Is this now OK? Thanks, Christophe Christophe Lyon (4): Remove CONFIG_USE_FDPIC. linux-user: ARM-FDPIC: Identify ARM FDPIC binaries linux-user: ARM-FDPIC: Add support of FDPIC for ARM. linux-user: ARM-FDPIC: Add support for signals for FDPIC targets include/elf.h | 1 + linux-user/elfload.c | 53 +++++++++++++++++++++++------- linux-user/main.c | 3 ++ linux-user/qemu.h | 10 ++++-- linux-user/signal.c | 91 +++++++++++++++++++++++++++++++++++++++++++--------- 5 files changed, 129 insertions(+), 29 deletions(-) -- 2.6.3