From patchwork Sat Sep 9 12:59:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721089 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp256731wrp; Sat, 9 Sep 2023 06:07:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHANZkhZdO5aiQsude6k8MXeDyIsxoZELE2LX2TeMKHesNu4FjF5yb/3QinKAzfwTl7j2GH X-Received: by 2002:a05:6808:1920:b0:3a8:a4bd:ceed with SMTP id bf32-20020a056808192000b003a8a4bdceedmr6596148oib.9.1694264826713; Sat, 09 Sep 2023 06:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694264826; cv=none; d=google.com; s=arc-20160816; b=OKMrvVchnf9Z/dkCw9lteeztttM2L7dstfrwobgG4sTxTu5n/6YKPUKpgsC8z6wW2P og+bqFaGXIwgrfxzWyd0gIa5MW6hk+/6vs1zVPG9OsppkzRla8/4ZU8WkRWnmjYhnohj r1IIVj4enXcH87hfpv/eH+cFOgsZM2Z6gg5OOyvi/veJOTOLUmqyjxXWxUZT6YfQIFHf q0jp8cK+ERdHs5MyiWkyey1EE8upcXNZUwtt/frozad6JUchy8/D2dGVVUQWQAPEduDr aLhc/e6XgmJRIexMVNeM/6xoSnB8Y8KBud8Cg6TAB4ED8mFXdiUzd8INf1Ucj89BOcdN Rasg== 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=GOeo6Xdd3v8dFvHfdxh0o3RKtD/morAF1c8s1J/1Ag0=; fh=bMaafE1clBtiBaCrlbrbcY1DSEPhhFUklUk4XoVHiPU=; b=L0D4FS32Iqj9zTzIVCwJCL98UmWQCpRZ/AgTHM04MoxgNe000Aooz1jSGi2O5zBBes uH4XmQwnmWTa7cq0ay721ATgCat6IZ8zjHfM92xHNB1FFX3WlQFu9MUwpqz46Zi11BNG BQpH7/DS0UnWXF4yFsjNfPqapd/ApM0ybJkUevLfQlwlcbUWuWJueUMY+dkxsbxA9uft 5mA7VdqAO10Y/A8y2rQM9x5GaS14tqtJYcEr8qqZrd/0GB6S8OJluYtwGrwDI6f40x8T dnD+SEHhEhiroVv+G3dKjar0YzS2UkY10SzPUXr1Bib08Ft2itMYyIN+c2UiwU08tvfu 8Rqg== 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 v25-20020a67c019000000b0045097677102si277875vsi.746.2023.09.09.06.07.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:07: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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qexaV-0006wc-79; Sat, 09 Sep 2023 09:01:24 -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 1qexaT-0006rk-Ep; Sat, 09 Sep 2023 09:01:21 -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 1qexaN-0002DQ-8y; Sat, 09 Sep 2023 09:01:21 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 00B372059A; 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 C0BBB26E01; Sat, 9 Sep 2023 16:00:24 +0300 (MSK) Received: (nullmailer pid 353093 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 13/43] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze Date: Sat, 9 Sep 2023 15:59:39 +0300 Message-Id: <20230909130020.352951-13-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, T_SPF_TEMPERROR=0.01 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 microblaze.h setting BIGGEST_ALIGNMENT to 32 bits. Signed-off-by: Richard Henderson (cherry picked from commit e73f27003e777fd9b77d13e71c5268015b8ed2b6) Signed-off-by: Michael Tokarev diff --git a/include/exec/user/abitypes.h b/include/exec/user/abitypes.h index 743b8bb9ea..beba0a48c7 100644 --- a/include/exec/user/abitypes.h +++ b/include/exec/user/abitypes.h @@ -15,7 +15,9 @@ #define ABI_LLONG_ALIGNMENT 2 #endif -#if (defined(TARGET_I386) && !defined(TARGET_X86_64)) || defined(TARGET_SH4) +#if (defined(TARGET_I386) && !defined(TARGET_X86_64)) \ + || defined(TARGET_SH4) \ + || defined(TARGET_MICROBLAZE) #define ABI_LLONG_ALIGNMENT 4 #endif