From patchwork Mon May 17 18:13:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 440191 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1342099jac; Mon, 17 May 2021 11:37:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdEksrwEoO3Jgq3PInRHDzscwz0DqIx6ihEY3wGzvEL7DDpBy2Qmo5aqGQ3uXhXPCIYnox X-Received: by 2002:a05:6e02:507:: with SMTP id d7mr892896ils.19.1621276657682; Mon, 17 May 2021 11:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621276657; cv=none; d=google.com; s=arc-20160816; b=GaMWBnnJDfQcNxvXxAvGm518M+kz/LkGeyAv9rw5kd96tjlofcqc1e2vMOzXCv3K20 684BT7XrfXCWaJv/D98pY55U+jLzJoA5A3SNRW3mjpJwR46/ML5efsIkZ8Z9qomFPCnu j2UFzRhQhRaEQ07dZGnSW9uGn1n99StzLGd2wxTcarIg5kXnfIKvttcFljqgnj1P1K/c uqb/9KUHD/tbQSsrS7RKhqPGKWsZGrjj/Xdv0qTjDqZ0vmm/5zJ74vh7t0wiOsX+UQvl T9l7Xy9iegF7sZDhZApn7wvIQ6bMX2XZ/HsAGaXOS7wi0X4wxOEyfpsRy1A4fsKLcwR7 Ip1A== 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=IZkPtWNT81nm9iWXAEJfeqOHRBCTmwRGFNZIWEfaH5uY8aaLWhh8KCIEh0nlQyXTui TMv+AWSoBa0zxX8u6sUsGitanphnvzy5OnozFGqJ9TSBxrGlICqd8FetFyDv5ltdRgf/ PJj9q0+3hGQ1sAqArCtOX/1kYcz5fIoOAOWbOpPyWQqV+DZQBE2Gy+fJZe7moz5mHxz4 E0OPDK1L1HZElC6kxtzyjfQ7IXSBUyHhPYpNsinsiai3kQCOAIncb8WP5creY+ptHdI2 SoJYDaFS1hn7sYVnJdVxf/tThk/aLfBk0BLPARSSWFQgtzGSAoiGYLqgY78lH/TR8d3e xhyg== 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 l21si21845896iow.25.2021.05.17.11.37.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 May 2021 11:37:37 -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]:47812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lii7V-0007g8-3O for patch@linaro.org; Mon, 17 May 2021 14:37:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lihlR-00062D-JI for qemu-devel@nongnu.org; Mon, 17 May 2021 14:14:49 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:58145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lihlH-0004Qy-K1 for qemu-devel@nongnu.org; Mon, 17 May 2021 14:14:49 -0400 Received: from quad ([82.142.31.78]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MHWvH-1leWuS06TJ-00DW0V; Mon, 17 May 2021 20:14:37 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 19/59] linux-user/sparc: Remove target_sigcontext as unused Date: Mon, 17 May 2021 20:13:44 +0200 Message-Id: <20210517181424.8093-20-laurent@vivier.eu> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517181424.8093-1-laurent@vivier.eu> References: <20210517181424.8093-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:z1xx6rmZUGv7FNGN31N81HKTc7xt0hSgaJTAHgUyI/0bHxLLuzQ kKYPS0VuvffteZjC0QbasWOW0C7cd9SdSRgsRPFyKc+yTBk4JwT0x6BPqjzCkpsykI5/fst vNXSOvY2hx91Ty04GE1iQJuvyauVoTY06N6/S6FaYPFSH17jLui96AW04bm12xF6UWFgu3v RX6RKgtt+14hDfYcI13dg== X-UI-Out-Filterresults: notjunk:1; V03:K0:AQ3C3vF78lg=:pPEny69aGRRPCAe5Ic9yBw HDFGzoh/0WNndCTehxDNsQ+LAM/sGyzWMCeAoA76OFvLwkfI2fJaqlcZK+sooQAaUpkeyjPy8 i2vc5oxwHdiRDTh06NkVYr5yXPJbn4H+lRuEmZET4tGMXabX/X/ROTcplQx+HT5GTZe89OxvH FZ3GIUYdCFdF6QICIT3yLLLM6Cb8EUCYrMNiKNsCz9Pa3uZor1UFF9mrqlSt2cyuAFX1IDYXV /A22vTLKVhz8Mdod7+Wno34Ji8BngZ1i1XdVAzNVn1U0qNyUHGOyec0S0nj7gR0MFHPh3ES8G ASC0/t4rhevQGlHYnqwLdVhZZ7y4Lvs0PuF9bf5tbgnQoJCwPRsnZ30qHnY5P3g6xRaVBlC30 XKPL6p1UsVpoJ915iP4DuawJwqlDRWys9WueuI7os3HLZNuoUZFnqUWj3Yit2LtHcGlptShir 48iBkYvGc2w5ghYiluj0BtIauZhv5oONS3A3PQRUigEt39cUvoNfiPFDI2woKl9+lVF4a/ab9 FPWTQSAN5OAZgoEUCBj7IY= Received-SPF: none client-ip=217.72.192.75; 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, RCVD_IN_MSPIKE_H2=-0.001, 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];