From patchwork Sat Sep 9 13:04:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721094 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp260231wrp; Sat, 9 Sep 2023 06:13:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5UotwJsp1/IMOCBsHjjqlgWqntQx3TZrCzJuOVzW1rX0zo9C41Oc7/8m+ORzvZOkEtP8O X-Received: by 2002:a0c:aada:0:b0:635:e113:a0fd with SMTP id g26-20020a0caada000000b00635e113a0fdmr5026377qvb.33.1694265217318; Sat, 09 Sep 2023 06:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694265217; cv=none; d=google.com; s=arc-20160816; b=l3hQlfjBwVOFeVNB5apXoz8HgSKmHE/ZxIvWi4llijjjy8XJUdT7uqHOHxAuqnlKBB 33OpMHH9e1opeOpog8I77Db8ypGONtPBRxns9vSisC99lCkApf7Z22CXqhTVhq6RifVA uDUhERFL50F2I1TfjPr4kkeCrKtRgkoO/XMMVm08IUYI1uSBmAl374OWnWuCCWLoqqM2 GTdA6bIKcOfHVPO1XqnHubLt3KpIiTdYqaGzjH3GHAvwyNlJu+5M6pmGVN36QiGfac6e bV0ex+m71B5lMgl7PupjBC0tzmfMvkcmrjQ+BZKFetvA6RPk3EBfUKmzdzfA3qUwpaHJ ol+w== 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=fliWBOZobIcJT3dR0LYvE40mUoAB4w0K9css72H/Z1z/ra55a/utgt3+BMuQ+EyvWq uuu7ovzazi/IUAV864jumjixidjayE/PWgeZNGjjo85NZdPP+MF8zjfcDaF4cSm4fMBh DnqwgORh+LJqzyAmrG9e60FU3glvERdLvZSDjQTRYSj+lo7mByp7RSaPoVDzjeSpQj+a De+AUC8F2d1HT2qKPpH55KlzqPjbPFy8UsBReiWCLfqCIsthuWCvNyRCjLnsFRPTsBO+ Sng61HGsbSOLZem09Lw/mnnGH4CWyak3My63T0Is6BefkNUC3yZC8G+h6eLX/fZb/0p/ mvlg== 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 t15-20020a05620a450f00b0076cb26a4d93si2462074qkp.233.2023.09.09.06.13.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:13: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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qexeb-0006fO-3x; Sat, 09 Sep 2023 09:05:37 -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 1qexeZ-0006eT-G7; Sat, 09 Sep 2023 09:05:35 -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 1qexeX-0003Xu-8f; Sat, 09 Sep 2023 09:05:35 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id C84F7205D5; Sat, 9 Sep 2023 16:06:04 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 8D80526E28; Sat, 9 Sep 2023 16:05:13 +0300 (MSK) Received: (nullmailer pid 354284 invoked by uid 1000); Sat, 09 Sep 2023 13:05:11 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , Michael Tokarev Subject: [Stable-7.2.6 08/37] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze Date: Sat, 9 Sep 2023 16:04:38 +0300 Message-Id: <20230909130511.354171-8-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 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