From patchwork Tue May 18 05:30:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 441121 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1776490jac; Mon, 17 May 2021 22:38:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmCR1ENWoO+uNayRVd8TD/L6HDESOJw8QHjHXImONhmVTeKKQuSJ3mtlnoHsZ4hEZbK2uz X-Received: by 2002:a05:6102:3006:: with SMTP id s6mr4271334vsa.55.1621316286719; Mon, 17 May 2021 22:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621316286; cv=none; d=google.com; s=arc-20160816; b=eEWXOErzPmo1ZIp6sM1v8trdgAP6dn4NjdAExKMkrRtM1XeHiRscxAGqErSAcaNpbQ re6lwV6WTTDdJCugEW2bPboD6kGQPa8T+SWSrtonCqy7G6X8GXeSNccFzENzva0uqDRT irRwYYrt3X0AqFv9KJVaSL+mJZX/RYq0dEIQVsrTRwqQh8rL4FL/NS4DBCSswucX4uqp qIegcH3G+bph1nwkZZY+UCUfhlw0CltkxJtPqJZK0J2NjpVxNia4bsnuLl7MxPMWy6mR R/7lJCqryiPTR4gBlMaiC13yjoVbxbwVnyknA+CgQss+kQmLskYUcRXjEhWJhU+kSfes 4T5g== 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; bh=aETM7cX6Fn2IOowAJApdnIrW/Wt3lUGHDrN0sMwrFLc=; b=eT1Yx0zc769pIQFDJxK/4aVssHJ8wko+P3qCvio/Twe3seeuZA4kkATLHuvAKCpu+Z mwpwoqueoV1RvXfXqJkhqgkEGzyWO0g6Ws5PY8SsXGZu+g31NO98+8uoEMmM3BCAjPg6 W2A7UbwBUx9LPRUbA6WimuxtPPkRLJkEMSUwaPwE0c23+B0EVPY5/w7HiEcJUAMSxZO5 yC62Yi6LCbgxTncFaoWFrMQNs1ntjpqkySKt+v1VUHg3SeHDEsflJ32W57oC5WW8iCB5 uR6QLjRetWW7ia2W0NOjaJXmc0mIpeilJ+8SiqjL8de2iZ1bYHl+Bt8v99S6kH0mKXN7 XoZw== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p4si1750451vkm.54.2021.05.17.22.38.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 May 2021 22:38:06 -0700 (PDT) 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; 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" Received: from localhost ([::1]:37084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lisQg-0007II-3C for patch@linaro.org; Tue, 18 May 2021 01:38:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lisKZ-00076a-2L for qemu-devel@nongnu.org; Tue, 18 May 2021 01:31:47 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:59629) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lisKX-00071H-Ab for qemu-devel@nongnu.org; Tue, 18 May 2021 01:31:46 -0400 Received: from quad ([82.142.31.78]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mnq4Q-1l75r248a2-00pNWQ; Tue, 18 May 2021 07:31:43 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 19/59] linux-user/sparc: Remove target_sigcontext as unused Date: Tue, 18 May 2021 07:30:51 +0200 Message-Id: <20210518053131.87212-20-laurent@vivier.eu> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210518053131.87212-1-laurent@vivier.eu> References: <20210518053131.87212-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:fzgVEwQgHpq5x7eUZ6n+Y9Jg7c2kJgFhZ9mPXELGNIUovVvMXG+ fFRHH50Ins/T7+XW3NvGhUKQywVgww1xivcP/NuEehlTflrrpZw7K9lJMqGkUR9fLvOzDqn CEJkrGVwM8/lftnKzCf3kuQZiNpYeWFUvQgAI2/HNSf4gdP1MeelhM1e+EjKJ5X3W8Uyhq9 uJxhytJBAJZfH/Km3TLqg== X-UI-Out-Filterresults: notjunk:1; V03:K0:txJ3j8Gd3Ow=:bDPsAdo17l4f6gLL4nb5ck GpoQCVLhFR8fG6OxwrftE4DmfogOznEmSmvA7n0s7LeWtUv7gGHDmU6/AyFOZi1Gg0VZjUXO/ +5p94pdN35VLx3VswQwlR6NUylvk+mhI81FPfohIar/6x/I9qrXnvoih49SCYm+1k//vRnjCP uUcwPPazhjD3ttPeyZXyyo69wMOsbtglS3jx/8a1+29wO3tz7Uo0xbMlwpM8H9NBHXjy+Kvzb 2YZy9jPRviD3qTQw6Y1opcjYzOggVO6TfVhBSU49MuP/fgSjucrYdnylHQnAI01ysxEs5yTNS c2buQF4v5l/Ot1JBMxKce1itHE5r499bMgBAc2PFj1RzKNFMXtF8fX3sal7CFtXeLPE7lBccr bDI2g8PBE68HyR7GtgLvCuTZ3IpDK1coiAXEkIIW77z3bkW6gH1HuJ1bscoPpyTSSEmH76OgZ cCbEoNC3x8AUlFNL+Cp06dBBmVI5CJxkS36t/bnAYCLrh5nEdy1eaqqXuER330WLJO+tNG6lB lCbo4jy1wKoC0GBr/IXUqw= Received-SPF: none client-ip=212.227.126.131; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson Signed-off-by: Richard Henderson Message-Id: <20210426025334.1168495-13-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier --- linux-user/sparc/signal.c | 28 ---------------------------- 1 file changed, 28 deletions(-) -- 2.31.1 diff --git a/linux-user/sparc/signal.c b/linux-user/sparc/signal.c index 76579093a88c..3d068e095508 100644 --- a/linux-user/sparc/signal.c +++ b/linux-user/sparc/signal.c @@ -21,34 +21,6 @@ #include "signal-common.h" #include "linux-user/trace.h" -#define __SUNOS_MAXWIN 31 - -/* This is what SunOS does, so shall I. */ -struct target_sigcontext { - abi_ulong sigc_onstack; /* state to restore */ - - abi_ulong sigc_mask; /* sigmask to restore */ - abi_ulong sigc_sp; /* stack pointer */ - abi_ulong sigc_pc; /* program counter */ - abi_ulong sigc_npc; /* next program counter */ - abi_ulong sigc_psr; /* for condition codes etc */ - abi_ulong sigc_g1; /* User uses these two registers */ - abi_ulong sigc_o0; /* within the trampoline code. */ - - /* Now comes information regarding the users window set - * at the time of the signal. - */ - abi_ulong sigc_oswins; /* outstanding windows */ - - /* stack ptrs for each regwin buf */ - char *sigc_spbuf[__SUNOS_MAXWIN]; - - /* Windows to restore after signal */ - struct { - abi_ulong locals[8]; - abi_ulong ins[8]; - } sigc_wbuf[__SUNOS_MAXWIN]; -}; /* A Sparc stack frame */ struct sparc_stackf { abi_ulong locals[8];