From patchwork Fri Oct 25 11:39:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 177723 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3571152ill; Fri, 25 Oct 2019 04:43:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqx45vbresX4jf4rtFjo3gANxXTnHw1XY/JnoFjXSTa/zTlSergBBdF9TnEYOFBEH51YYYyW X-Received: by 2002:a50:b083:: with SMTP id j3mr3311418edd.15.1572003809188; Fri, 25 Oct 2019 04:43:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572003809; cv=none; d=google.com; s=arc-20160816; b=R2fEYGRxe2SbwmfsRvfaG5tiN5Km13Axg3hftD+J9aLOE3EM1I/bkEyBk5WBJYewrS Wr816eB6Vj0+DoaRFWccOr8I1voUtria7C6vC+lZ+ckhNmU6CbLz9+5Be97phNsa2zJp akJFGhpPlA4FWqt9nAUvJ/UfJYuqSv6Fe5mnB/EWY95PWeLjFJDvK7V6bvdFgHEJJhfu COugjTaFyVOTgJ8RwTgnIZaziDN7MBh8coB7KFYO6anEGEmtxbyXqyQIAEP511CJ6xmD 0CNrw0qWeaRyS+p1g8WO/nZklsRj0B8WdhvTGLjrqnH9rojm0NyBF71XoAwE/k6/gLJ2 a1FA== 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:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=m328r1FYSeCQVBFpcE1l4M4AliU0R8Zo7qDrsYY6RNg=; b=Cwl/IeAJbKGXdk0oLvt9jYPP+zrgB/LYrdaNKRhyjAxP8Wwzq5+se+AA83rYrIYKhA k94Rk0CkpJdhFUMygFe1WW/Hf24R7np79kQwNLAuiLEqnG9YwZd4jOsa9sjgaxuJC6z3 6pGQOHINtR7F4cpqlOEzk2KWtWIBBrztrbEA36UAtthMEJqNl/xPfJGS/qsxMdmBPneJ R3nYIO6KBxJmGJA0kC9hSie5VSF+IkS6+8aTYcit+Rtl+Xt5xtubxv5eTYw4YTwYHY7o CmpHUF3P4Q9AJahp3AQWKhcl/J+VkNpoy+eRUwuaXEiI2RaF0DqNF/w8leNP9ADimMN4 jwcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=t+CH6D1q; 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 k12si1072743ede.181.2019.10.25.04.43.29 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Oct 2019 04:43:29 -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; dkim=fail header.i=@linaro.org header.s=google header.b=t+CH6D1q; 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]:58956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNy07-0004iZ-Hh for patch@linaro.org; Fri, 25 Oct 2019 07:43:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45078) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNxwP-0006gG-0m for qemu-devel@nongnu.org; Fri, 25 Oct 2019 07:39:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNxwK-0006dn-Tb for qemu-devel@nongnu.org; Fri, 25 Oct 2019 07:39:34 -0400 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]:38737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNxwK-0006de-QC for qemu-devel@nongnu.org; Fri, 25 Oct 2019 07:39:32 -0400 Received: by mail-qk1-x743.google.com with SMTP id p4so1403638qkf.5 for ; Fri, 25 Oct 2019 04:39:32 -0700 (PDT) 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; bh=m328r1FYSeCQVBFpcE1l4M4AliU0R8Zo7qDrsYY6RNg=; b=t+CH6D1q+c6ybGFyc7uqbCqi3hmT+rWYMs3PBalQ17bvjwt2XR5A0nuC/zb1+wdhXo d2zy3tbXaUWICq5RcIm1WN0h8Pfj2b8d6Nk4ATlFLTVACTuoYB58p52TKz1vPg1HRLoo mf5b/HO+FjffDsUrjfCXrCv/QoO5wPdcTnn8bED5rRkkD8LwSqUeD+hwaA9D1YS7dCyj jcxjzCXZs6NqEsUcVIxujx+U05gUueav1vPE+HAB2my8RmkEdHmrbmFFTN3DR8C/taOp l5IzK24lzXGVwnk0Cfzxz2s3NAUsEad+9A9ztP41/xYELs5MAkRfwBmRZCfmkA3VzZ+X yWrA== 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; bh=m328r1FYSeCQVBFpcE1l4M4AliU0R8Zo7qDrsYY6RNg=; b=nXWslMshUHa/Uq0KTALGwb3VmHTdE8HS9TsgesCH01jlDsbp9XfefrWMDCVe1qvQyY Zzzu3c3M6vzqaVjlYU6IJ24IrPxs7roVJRG38YV54WHrVj21CjQzaDKAG1Dd11E9vM0d hHJAL5w/CiOMV3+DTnXTQsaQVj3fcnJ+xQGEC5NY3I+l9m/WEyP2ThqWECBkwrAr+LsA +Bv4YRj20tDXvLyzBpYCwa3H2cMjtohZs/sAp50Q/QIYxz6rMkrSfqyDhsrH7gLtEMJ3 jghqb4RIjbpqzeyC7MJHUYlk8NCqzC8+TpKc4U/psKcyqor9+O8YJQjHfwlx+2KhPHT9 AzFA== X-Gm-Message-State: APjAAAWUxHb8dj8Qkb4s8qAyUp+W4oO4/kRCNabEZCtK61xLSzGgyj07 D6Al4BNAjzG0CT1X14/IYzxMEIaSKB8= X-Received: by 2002:a37:6442:: with SMTP id y63mr2331654qkb.31.1572003571500; Fri, 25 Oct 2019 04:39:31 -0700 (PDT) Received: from localhost.localdomain (rrcs-172-254-253-50.nyc.biz.rr.com. [172.254.253.50]) by smtp.gmail.com with ESMTPSA id x38sm1473335qtc.64.2019.10.25.04.39.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 04:39:30 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 08/12] linux-user/sparc64: Fix target_signal_frame Date: Fri, 25 Oct 2019 07:39:17 -0400 Message-Id: <20191025113921.9412-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191025113921.9412-1-richard.henderson@linaro.org> References: <20191025113921.9412-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::743 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: alex.bennee@linaro.org, laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Instructions are always 4 bytes; use uint32_t not abi_ulong. Signed-off-by: Richard Henderson --- linux-user/sparc/signal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: Laurent Vivier diff --git a/linux-user/sparc/signal.c b/linux-user/sparc/signal.c index efb0df7e2b..ecfdf937e4 100644 --- a/linux-user/sparc/signal.c +++ b/linux-user/sparc/signal.c @@ -87,7 +87,7 @@ struct target_signal_frame { struct sparc_stackf ss; __siginfo_t info; abi_ulong fpu_save; - abi_ulong insns[2] __attribute__ ((aligned (8))); + uint32_t insns[2] __attribute__ ((aligned (8))); abi_ulong extramask[TARGET_NSIG_WORDS - 1]; abi_ulong extra_size; /* Should be 0 */ qemu_siginfo_fpu_t fpu_state; @@ -98,7 +98,7 @@ struct target_rt_signal_frame { abi_ulong regs[20]; sigset_t mask; abi_ulong fpu_save; - unsigned int insns[2]; + uint32_t insns[2]; stack_t stack; unsigned int extra_size; /* Should be 0 */ qemu_siginfo_fpu_t fpu_state;