Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1872770pxb; Fri, 10 Sep 2021 16:43:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpQf6SIfFdcM963b6A/WqgHnGRR5zyuxtHWih/UCTObILFUHdlnKrZAz+s4ETQrFuashaY X-Received: by 2002:a05:6638:2395:: with SMTP id q21mr230504jat.122.1631317407886; Fri, 10 Sep 2021 16:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631317407; cv=none; d=google.com; s=arc-20160816; b=wwTOeEC0/dN47vWHYbqnme/sN4+jfCbAlk04Bi+yvw3igQT/zi2Th6wMpi3efXHhI4 ery+QVYbVg87G2DqzldisWHGOkDVNPM8uTa02uX7OSqIufNFDg/arlsbrR5lYDfz8uN9 HoGdvVqZAEHKFY1VeEmxLGyGBSXFfnlY4zIOqlxlyXXKp4AGCOorAz7CgwbfUrs2MlIg /cleG+ogziIyfnlwmyFgrHMakjKTKsBKpaPgCaYJsb7PpQcm5qGn5zgd836yd/JLcxAk hy9ZgsEknebOglbF0O7ctwA1dTDfPueqd2Y5e93bzAKyEota+7D8Zvuj7nRGL2zzvzvJ pKhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=YEmwi7Tj0kCjh6V7g9aN0YraW8uzMWFmrARhRhvny3I=; b=lmOIziteq7vPD+F5NM6/L8PhgBevrZyuEUVPhoO6mvJrE7UC91uRGXDdINKgJmrhtB rEjjQiqv1dZDcYMK7Zsjo6HxecrkVE8YZiUzedLdUSEPeJ2VQuNUpGCsRYau56biXsBZ 3QnbCAyZ9M1fxTrenuyiKb1yVH5529HNZSZZ7MWnI/rD9cMMgu2vDepTnF8ilKrBkccn sFjNYciC68rnfAP19l8kEfhOI2vcIslohJS9nBkRdcl61mIET22b5TSDsduJhiES9DG9 bs67psynRY53t3XUG1EBkWi8Ag9CnRtE8a/SOwLLw99XMwPEZ+8Uq8fdUEnQlRJZrpN/ A72g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=RPBIg95u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h9si135105jar.120.2021.09.10.16.43.16; Fri, 10 Sep 2021 16:43:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=RPBIg95u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235124AbhIJXmv (ORCPT + 99 others); Fri, 10 Sep 2021 19:42:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235002AbhIJXm3 (ORCPT ); Fri, 10 Sep 2021 19:42:29 -0400 Received: from mail-qv1-xf49.google.com (mail-qv1-xf49.google.com [IPv6:2607:f8b0:4864:20::f49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE2C3C0613DF for ; Fri, 10 Sep 2021 16:41:15 -0700 (PDT) Received: by mail-qv1-xf49.google.com with SMTP id h9-20020a05621413a900b0037a2d3eaf8fso40096445qvz.8 for ; Fri, 10 Sep 2021 16:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=YEmwi7Tj0kCjh6V7g9aN0YraW8uzMWFmrARhRhvny3I=; b=RPBIg95u6Anq/SGueX445eP7TczY5dK74ouUzISfoUl7PMfpwk74LbgNA84ioOq7dL dbrOusRGKsifFAvO9rS2ey3c/4djphfaL5Fb5kQah4ToMLID/Cp/fKirCeW8kYuyXo+r 9NX6Ee9afYRreiLl9ZFEIwwz0FbdfWn12xI/OlSaLrQgDq41Bz9B2G6nNn3c4N9TViW/ GauEsd0xyhfJmGttXPEzz4bzipacXmT3rGcqGu1ISsEhm/mZHct0RC0jj7FSMBvsw8aQ mJA6JXxA2XsrHwfm3L0lp2YCKamjDcr7v2SZ6Zmsdt4uudq71AwIac24meZBC/BC0CPI YJlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=YEmwi7Tj0kCjh6V7g9aN0YraW8uzMWFmrARhRhvny3I=; b=KOUCbjHpe2NPU8qeHsfi4hUrwtNf5/zJTShfi3WqyKedxd9tjiYzV+jd0QbTARprS0 jLqgfsCPS7Cy2TdiAklENc3LDb6b9w9VSq6pl8naQrZvGA+OoB362RtdbotpwhbXsWFc uLOxjW//1/+982cDCkHgfwtZFGALAwyPaXeK+bx7L9EOP+WK+bfL3Zd0BN9qY+k7qK78 Ee6jfwaXmb5O3g47OPTbdHq9SQGAncafNcoBIfJf2EkyrtFe0O5wTn8veKHN9yKCGF+h bx6pjwITnVJY602tDUedynCIFQR2ib/Z6775tk+BrS/jMJju93LGltUwycMbKigirNm5 tZRw== X-Gm-Message-State: AOAM532r+8WhKdOzbqE3c2S7A6BBoAWHRgwsn/ha8tGXq130fr50nycv FZeTdnwddrVlgDIQYA/A4/fH3mHYMBVCwCfPHEM= X-Received: from ndesaulniers1.mtv.corp.google.com ([2620:15c:211:202:2b76:71d3:b5fb:3734]) (user=ndesaulniers job=sendgmr) by 2002:a05:6214:1324:: with SMTP id c4mr43709qvv.61.1631317274899; Fri, 10 Sep 2021 16:41:14 -0700 (PDT) Date: Fri, 10 Sep 2021 16:40:47 -0700 In-Reply-To: <20210910234047.1019925-1-ndesaulniers@google.com> Message-Id: <20210910234047.1019925-11-ndesaulniers@google.com> Mime-Version: 1.0 References: <20210910234047.1019925-1-ndesaulniers@google.com> X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog Subject: [PATCH 10/10] vmlinux.lds.h: remove old check for GCC 4.9 From: Nick Desaulniers To: Andrew Morton Cc: Linus Torvalds , Rasmus Villemoes , Nathan Chancellor , Masahiro Yamada , Joe Perches , Arnd Bergmann , Stephen Rothwell , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Nick Desaulniers , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that GCC 5.1 is the minimally supported version of GCC, we can effectively revert commit 85c2ce9104eb ("sched, vmlinux.lds: Increase STRUCT_ALIGNMENT to 64 bytes for GCC-4.9") Cc: Peter Zijlstra Signed-off-by: Nick Desaulniers --- include/asm-generic/vmlinux.lds.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index aa50bf2959fe..f2984af2b85b 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -116,11 +116,7 @@ * GCC 4.5 and later have a 32 bytes section alignment for structures. * Except GCC 4.9, that feels the need to align on 64 bytes. */ -#if __GNUC__ == 4 && __GNUC_MINOR__ == 9 -#define STRUCT_ALIGNMENT 64 -#else #define STRUCT_ALIGNMENT 32 -#endif #define STRUCT_ALIGN() . = ALIGN(STRUCT_ALIGNMENT) /* -- 2.33.0.309.g3052b89438-goog