From nobody Fri May 17 21:20:30 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1696109338; cv=none; d=zohomail.com; s=zohoarc; b=YXtnpBYMXWhPtp7bRRbFwY2O+a3jmyEuPVOy7+0TUGd8QL0rsPt1/VeXFenyjQ5e9+J0efNftORwFyllNRmcVpM4ogIzQLn3oblIuz5EcrGuotrHyZMJWV7XHwxGFEk9Ds7DzrxAMw+22mq3x0y+LK81uPBUTfOD111Ta6g53kk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1696109338; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=xC37eoqg+2YbZz3c8BLdow0ua6W9XsMYlANpVl/9Uws=; b=A2khG9Dd40mAVZ8bcWDsXVAZvXqIk6qRzkm6s2p+QGx+nHrRoBCaF1evHXH4T8W3dEeWz9EvxLnhKbnSs6LR1T4xP5JTfXD+LxX0+dZt4XOII3BkCc5wtYSTSXC8TT9Pf5bNb2I9EcLmF+NgeT4oNBLXk31E+9NSZ1c322OaMBM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1696109338743499.2876882829921; Sat, 30 Sep 2023 14:28:58 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmhV8-000617-30; Sat, 30 Sep 2023 17:27:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmhV6-00060g-AP for qemu-devel@nongnu.org; Sat, 30 Sep 2023 17:27:48 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qmhV4-0007K9-Nb for qemu-devel@nongnu.org; Sat, 30 Sep 2023 17:27:47 -0400 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-5859a7d6556so1718276a12.0 for ; Sat, 30 Sep 2023 14:27:45 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id mv11-20020a17090b198b00b00274a43c3414sm3561532pjb.47.2023.09.30.14.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 14:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696109264; x=1696714064; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xC37eoqg+2YbZz3c8BLdow0ua6W9XsMYlANpVl/9Uws=; b=K7xrpMw83Rq67jvUtkAyNrDh+Ie5o7i/ssTOEQVvQNtmdqY6lIyP49DtEcY31xFxdu ZRaH1ELRzwfFa+I6ddFhz6TUSWjOAEaCIwGIeIqypSOj8kV4ur3uegt1OCdb50EfBQia 7VkenbfQrwFDI2/u+Sxmyg3fkYgcT9Mg1scMHDjaln2fQ1y+f7AxuyEuKwmzUTydI2kY WoTdZv7pg4irlF6I7Ft05JRqhziM8v6VJVzLoHo8CWonV4cMxdyYlyOygbAITWuMuI1B eS47nwum/pHnE3UknjiZ0rADks9GrP7V6HS+6G1r9xleAtF4fkpjzzCRCrantKVaLHCg zXKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696109264; x=1696714064; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xC37eoqg+2YbZz3c8BLdow0ua6W9XsMYlANpVl/9Uws=; b=ZdsPIeNIyHE3WPR+m4bWqpbguE8Vxo58sEZ3C0MO1VbYcL7AUMM8BrtFEvz/O1ZRS0 0Ulb6KCxDPZIVIiPXiYUxipOjZzHtdgXmaYnH1w90lTaiWh8thBnzMwzG+r9tin+CN+z /FkIgxmOu+Q0TULMzCK/smtOCySekfRuxFkWWF8lPGfoSL7aXlBonCjG3sICqMTngblI QrFGJN8ooLfR4qaniWT645EKFSvEeKrelAp67bdAFc8TVNlF/rhi9JbWuOqLw5sRMfPq yUvR1skFmI//AYBkaDJiaae7z+Swoyu1G4YM+GndzWrcfj5WhALjgWOEYaAv+fXCiWxV 43sQ== X-Gm-Message-State: AOJu0YzZa5zysgsm2YbG4hk8AqXkBWiXz4n2QIJvT7mjVksBsvd0ylYH BSqYK+iTLLUm1FUio5MV9XQjamlan3fRSCUaO80= X-Google-Smtp-Source: AGHT+IE4mmuuaktIlM4NSwxBHHPniAHzuOZNNL/zFTI7A7POMf5y2BHdoGQ7goKlUNDH3hoVfbxGNg== X-Received: by 2002:a05:6a21:3388:b0:14c:3218:c1bd with SMTP id yy8-20020a056a21338800b0014c3218c1bdmr10586882pzb.11.1696109263868; Sat, 30 Sep 2023 14:27:43 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH] linux-user/hppa: Fix struct target_sigcontext layout Date: Sat, 30 Sep 2023 14:27:42 -0700 Message-Id: <20230930212742.586468-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1696109340573100001 Content-Type: text/plain; charset="utf-8" Use abi_ullong not uint64_t so that the alignment of the field and therefore the layout of the struct is correct. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- linux-user/hppa/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/hppa/signal.c b/linux-user/hppa/signal.c index bda6e54655..ec5f5412d1 100644 --- a/linux-user/hppa/signal.c +++ b/linux-user/hppa/signal.c @@ -25,7 +25,7 @@ struct target_sigcontext { abi_ulong sc_flags; abi_ulong sc_gr[32]; - uint64_t sc_fr[32]; + abi_ullong sc_fr[32]; abi_ulong sc_iasq[2]; abi_ulong sc_iaoq[2]; abi_ulong sc_sar; --=20 2.34.1