From patchwork Sat Sep 9 12:59:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721087 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp254006wrp; Sat, 9 Sep 2023 06:02:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHgEqyKa4WJ45pXpAPkOducbvY+YObCxs/hGgmfEaXnLSLNR6mBsn1XDXq+r0xocstLXz1l X-Received: by 2002:a05:6102:497:b0:44d:5506:c5a7 with SMTP id n23-20020a056102049700b0044d5506c5a7mr2648838vsa.6.1694264546454; Sat, 09 Sep 2023 06:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694264546; cv=none; d=google.com; s=arc-20160816; b=FoopfM8zchQllAxoxk6RTOmmz+XOzM++9YFxKCrUZps8L2SLz4Z3OC7LxJWWm+xhmW sF8KJAfQ+e1egc0aoHehTEVgwB2iTZBtpMcdy+azTxQF+4uxsfMEaSWeVAyWEL+ejKex fokPtK/ZLDcc33QbGfKKkWG/g73OupsteKBXuJWIBhmr9c6nJufuawcX9sHSIu5HUNez rdxKWJkHP1M4ecHq1GJStESg4yOy6hs2XLQ4uLRDec+H9zML8S9/G3cCRgfKYITfvppZ 7ha3N+5a1apcBT/mop/CqHOrlcHwkL/vUjBJNTcLGR0RTw1ogAPMBd/6vDJEZ8QWxDbD 26pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from; bh=3F6aABUxcb8uQCSf9WFdb2bWbh6fezLXZQLdOpca+AE=; fh=bMaafE1clBtiBaCrlbrbcY1DSEPhhFUklUk4XoVHiPU=; b=edG60UuTSTH0+ayzTFjLk8/resyMSXFd44rK7t5B/IJjyVvaEr2Jd9+WpM2zz557sq VKmXdPGGgikXHF/LXgJNughb8kEJ13kECUVldnzktBo2x4eeTklgUgZdlNWm4Q2T5e0o L9lOcU9jb+aovSs0JA8TW9vw+f8AsaidAaYmrQVakm5FzBokGWMkp9Zxi7x0nQd0afUU Ej8qLQE6GUnPBcW7m1fTBtocVgeayUKQYiMMa+ukzoQjqpKx99QkgkOcMMTSIvZ/vFbM pkhb+hTKAK+5JsEZeIiZTPMIbGGLn9L/ariYjcXBQAdWxE/Rgr58yJVnuXTYVjque6Dr yEIg== 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 n15-20020a67ac4f000000b0044d3eea8da1si259864vsh.201.2023.09.09.06.02.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:02:26 -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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qexaZ-0006zX-Uk; Sat, 09 Sep 2023 09:01:28 -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 1qexaV-0006xD-Kn; Sat, 09 Sep 2023 09:01:24 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qexaS-0002PB-Ap; Sat, 09 Sep 2023 09:01:23 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 20EE32059C; Sat, 9 Sep 2023 16:01:16 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id F00A226E02; Sat, 9 Sep 2023 16:00:24 +0300 (MSK) Received: (nullmailer pid 353096 invoked by uid 1000); Sat, 09 Sep 2023 13:00:22 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , Michael Tokarev Subject: [Stable-8.0.5 14/43] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2 Date: Sat, 9 Sep 2023 15:59:40 +0300 Message-Id: <20230909130020.352951-14-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Richard Henderson Based on gcc's nios2.h setting BIGGEST_ALIGNMENT to 32 bits. Signed-off-by: Richard Henderson (cherry picked from commit ea9812d93f9c3e1a308ac33097021c50d581d10e) Signed-off-by: Michael Tokarev diff --git a/include/exec/user/abitypes.h b/include/exec/user/abitypes.h index beba0a48c7..6191ce9f74 100644 --- a/include/exec/user/abitypes.h +++ b/include/exec/user/abitypes.h @@ -17,7 +17,8 @@ #if (defined(TARGET_I386) && !defined(TARGET_X86_64)) \ || defined(TARGET_SH4) \ - || defined(TARGET_MICROBLAZE) + || defined(TARGET_MICROBLAZE) \ + || defined(TARGET_NIOS2) #define ABI_LLONG_ALIGNMENT 4 #endif