From patchwork Tue Mar 13 17:33:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 131528 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp1061982ljb; Tue, 13 Mar 2018 11:17:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELvIT308lQf/bigdmnbeEuYfiEsWW6XkCitW+zZ52jM+8ugfSXnk1Qpj4lyZuIxpvOWFzGtz X-Received: by 10.237.50.37 with SMTP id y34mr2608320qtd.234.1520965068724; Tue, 13 Mar 2018 11:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520965068; cv=none; d=google.com; s=arc-20160816; b=laDTu/t4WeusIxmbzKbhwWNn9fz2s6XgnPa3L2ujZELFQROUIpyqYR3gd7HfoPKHy8 I1OIFkM39610etyUjnrYUkTJNdR/YhcQ7Y3kOBkVM6ynhb8pO47mK47xFvy32mMx4P5S xXQaS9scXLVs1urULDYbYhoGWuhA02ss0FEBiCD0HkAOo+JdYwYgKFPesds5Z4nwQIIS 8k4nB4ka6jEWfKxEQSKqcsHUpDS7AoJ+ekcjha1asSWJwuwLi2FhDcBhOJ+POcbMljqi 0PdC/k48Sbkb+02n3LQlhh97GVAOLDaS/fVhSTdTwIQlD2Ksr5lkYoMmLP3+C4Ov3dCr tL1w== 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:subject:references:in-reply-to :message-id:date:to:from:arc-authentication-results; bh=EWS/Ylwofc7rPoMecI5f2lMKatjT4Eyki4ham8yZigc=; b=EmJEVlQV2c83Lhi1Nnx71dE/OGTUvEqIVPsKBHS7vfu7s0duWlfvT+y55nQtkPbscU d6W0kjhTYj6GtSdIAKzLS+VaC0zCT7ukxSS7MDdaWdWiBAQCz6R5eWwSANK8Q7dk3ynh WUIr/VL7VdcYw7kx/oGJrDmUIrG23pX7HLiu9bMrULGYhu5OMmuMIPFKFmHlU9h2hiq0 XE8w7sPcwLy1NF706hCs8/25WoNV/xHmF5NNX83SIiEqB1Iz9KRX7iNUIVPEc1AjmcWL t4ivwXZvkL3LHCa9VuFSfY3yPb298978H1cUHIPrut441zOoprJYUsNrEJ6VZf4dhdjM yGSA== 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 q126si268748qkb.218.2018.03.13.11.17.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 13 Mar 2018 11:17:48 -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]:41829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evoUc-0004wh-9U for patch@linaro.org; Tue, 13 Mar 2018 14:17:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evnoU-0008NH-IM for qemu-devel@nongnu.org; Tue, 13 Mar 2018 13:34:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evnoR-0007gs-W6 for qemu-devel@nongnu.org; Tue, 13 Mar 2018 13:34:14 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:51583) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evnoR-0007ff-MW for qemu-devel@nongnu.org; Tue, 13 Mar 2018 13:34:11 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id 0La0V7-1eD98R3G6H-00lmC5; Tue, 13 Mar 2018 18:34:02 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 13 Mar 2018 18:33:39 +0100 Message-Id: <20180313173355.4468-3-laurent@vivier.eu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180313173355.4468-1-laurent@vivier.eu> References: <20180313173355.4468-1-laurent@vivier.eu> X-Provags-ID: V03:K0:T6j10Rq6yTl46Upyvknxd5yWsbji0/zT4Bq6eEpc/PNzxFO8vxZ f5DdD1oeVEXLE64MnQczLYF27wrdMKzlzIRsT5bCHTsEIrrEzlsMo3haVd915cVA1q4Y/ao e98mwqhQ1yepHkjixxQkr9KxWlJbqoTW/9AB2gEsbsvtfSlL3kl5Ki9I+pv4FtX5KJaOW8n +EyVII6vjm8kUZz3MWMQw== X-UI-Out-Filterresults: notjunk:1; V01:K0:Dj79ni++QNE=:3S6KcihV9moVj8MXdRqTl0 Xm6zs5VG71Rw4/l8hXFvB1aYHqBk5xYg56UVFBG4pSaRST7YJbeXbTWi/k6rpqj661PBduyvu cbcsYdpqfH7zZEuh/46Fprpwca+aJmwCsUTSHj/u4JCcDjhEEOOicYdJr4XAqmZYYKzD/kzQw BAyjJ8ITNmfc3H35cLtCgIsG7/EAT6k+jORPTerHfZhQ2+ZUIo+6bqsOaNKO+Xqi4NPyDW4ei utwSX4/Ltgjx81Zh2pqGnSGm76yiV2mOb49DPkNkOKakO35dSYHfLCrKVznbnvQwmTrk0IyNR /rFddhBTX3hmsbdlRGUZ/ljGYgLQHGtIek4DRr7sgiPcUb8ImZuPiomtG90GyKcH7izpqZhRg ldOaMtCLhKls78W7UkinSKGNv41VEbiMaJq2oZWHP5axtbAVnWH4wlTODqYidPQ6JZUnPzXnx nPsZIa9UA3J5UC9Eg+ySAlr+5XSWCKQtJZE4iHkHVHd8WDd6LIq1JWMy1XLUbZAutCfSsHxno Vikz67UcVIJ6wwKbFJt/z3BOTNaAhC4F6ZgbjhA0BMbv/T/OF8o2xK0cKNpu+OX+IHtWB9iZD uHcCGIX3zpg/MXjalRRDqZro4thpXtcgXAOYaZJ+6S2a91558fAgUZ7OExeTySu0WD7dVEABC dpgjTtvTOF84IfJYPx5Sbl0DI8LO7q8DzW6u/7/SlXbqTWItP+xOJ2mBPN7iqBApjnb09jEfj 8DDnGei7eeUx7/FnpdSbaAJ4XV0Y/quARhQt7Q== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.130 Subject: [Qemu-devel] [PULL 02/18] linux-user: Remove the unused "not implemented" signal handling stubs 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: , Cc: Peter Maydell , Riku Voipio , Laurent Vivier Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Peter Maydell Now we've dropped unicore32, all of the architectures we support for linux-user implement the signal handling routines. The dummy "just print a message" versions are unimplemented, so we can drop them entirely. Signed-off-by: Peter Maydell Reviewed-by: Laurent Vivier Message-Id: <20180308144733.25615-3-peter.maydell@linaro.org> Signed-off-by: Laurent Vivier --- linux-user/signal.c | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) -- 2.14.3 diff --git a/linux-user/signal.c b/linux-user/signal.c index 3a5bd2732a..513bc7e1ed 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -6772,32 +6772,7 @@ long do_rt_sigreturn(CPUArchState *env) } #else - -static void setup_frame(int sig, struct target_sigaction *ka, - target_sigset_t *set, CPUArchState *env) -{ - fprintf(stderr, "setup_frame: not implemented\n"); -} - -static void setup_rt_frame(int sig, struct target_sigaction *ka, - target_siginfo_t *info, - target_sigset_t *set, CPUArchState *env) -{ - fprintf(stderr, "setup_rt_frame: not implemented\n"); -} - -long do_sigreturn(CPUArchState *env) -{ - fprintf(stderr, "do_sigreturn: not implemented\n"); - return -TARGET_ENOSYS; -} - -long do_rt_sigreturn(CPUArchState *env) -{ - fprintf(stderr, "do_rt_sigreturn: not implemented\n"); - return -TARGET_ENOSYS; -} - +#error Target needs to add support for signal handling #endif static void handle_pending_signal(CPUArchState *cpu_env, int sig,