From patchwork Sat Sep 9 13:04: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: 721088 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp256637wrp; Sat, 9 Sep 2023 06:06:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGDzZsTo83TKJLEr9gqwtNXkSCL6NmPAxZKY84tgN/n8YbPzNSjySaprofkok298Yv1r7Uk X-Received: by 2002:a05:6102:537:b0:44d:476b:3bbd with SMTP id m23-20020a056102053700b0044d476b3bbdmr5192914vsa.0.1694264817550; Sat, 09 Sep 2023 06:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694264817; cv=none; d=google.com; s=arc-20160816; b=IoqMz8kT/452I2kAKQtOMDwQaTp+xe543po7jNqZ2gQbpjkl6lKJt/CYwolcto14Zj vO6x3GkFFx6tGl8zA1r3QGH4fstMU/ksIdJbUIbxPTwu3zfyfbH/tJVJ3x8frknDsQW1 FkE83KM2YeXJ+X7CvO6cvVDj2fCUbSlz8nTMqHImq6ci5N9/Zw2pOleucmEm53Y14Fek bJQxWbYy1hnp2hq4BQPKh/lnGnniXSOkz2aOKlFZ84foCRw3e/ydkVuzmW+tqsLmks83 2kdPQ3rl0FR0aqZsePpy+uQz3cNVaVi82TZvvhSwBU6D3vRjVVpE3Y1JJQw5orXsc/tx Bp4g== 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=r6NAGBC/DFVEEFxTC6adodDj20EpjGggu9SpmiS+k0YgwI3rHONKIGWscemPYHoWcK fuu8qWReKZnQ09Tk95Y23Zg+ppy+GsdFOdmDCmAgUxC/qdgNBqNvcFHEBRAL1RwRyn2t l2Gef5WR+DgxSZBEVwLY7AN99O+ZBAJWa4SK/QM6ErcVU9GyOlcLTC3KKLpeWHKkbQo1 rqR6rqhAnAmKfz6Paq6lcdMKQu1LaO0SembfIQz3OtsO48Tx/BFUjtC/3rOldN7aqyRs dVeL+zJzQrxByMvcmpXjxFWjI+V8Oh2sl4LC/NNUI2Ztfg4cWJZ/CBNL5PP98cKEEYao ASNQ== 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 t4-20020a67f144000000b0044d591cca16si270174vsm.602.2023.09.09.06.06.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:06:57 -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 1qexey-0006jJ-Mm; Sat, 09 Sep 2023 09:06:00 -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 1qexeu-0006ie-KD; Sat, 09 Sep 2023 09:05:56 -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 1qexer-0003Y2-Oz; Sat, 09 Sep 2023 09:05:56 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 01248205D6; Sat, 9 Sep 2023 16:06:05 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id C262426E29; Sat, 9 Sep 2023 16:05:13 +0300 (MSK) Received: (nullmailer pid 354287 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 09/37] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2 Date: Sat, 9 Sep 2023 16:04:39 +0300 Message-Id: <20230909130511.354171-9-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