Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1878405pxb; Fri, 10 Sep 2021 16:52:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVFvrTCDlxhhKZs68mogLtzcFC6n/vGXC24T9wiV44Ex+sBGX6K5ah9HW4MOyp7XbMp2mH X-Received: by 2002:a17:906:30d6:: with SMTP id b22mr150391ejb.442.1631317958585; Fri, 10 Sep 2021 16:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631317958; cv=none; d=google.com; s=arc-20160816; b=lUh6xSBYhzHSbqdyLm7/+UtK0VM23VzOGGHrZfxtLAMuKGJUFCzg3lHQCYzJ7h7taW cjDAaixUcM2NJYFnNJY9JSy0l1pkZ6YUslF74ZUEPqOWq38preQu/uKeytwwTczeXW0q K+xcCKsCO3QiOy3Nxplp0jGhJwb4zmOnRlixk6kx6Nl1m9owNNQAmCy/GJBlNVJPDYOa Y6NguO4oBp0hfy60svVSrCBF/73VbOXO8gFYlHdxE8b3zhggFFYtQzBuH2bzl2ItJGHU Mf+qAs3/phYgUisRnWrwYpwOgVS+u/URM4PNRgfRECv8lytQP1nuoI41ykhoNofP+uMH gg7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=hXV79kJooHxef94/EO41f4KkC/GIFtbVjnfDnCwYHI0=; b=lkpl/KCuNNhItl4sdS2CAE5IHoT69jdVTSvhBFTGs8GESFV4NkIetBU9AgsQKlaxZi 4Lqved7+MJMG1RNEnmChdjMJJ9dmUphi7CU8AMCPGQ/G4XnTxrLjxn7seA8HuGaRhtRV BSCO4lvQ2ZdvqE6P088d3eu1bim1yG0OGm2uvBSLaft75uwgcL6dI1m6Plalp3drL/dh b6JWu3NB/Kxn8onEgiNk1L3I5toTJOabaPRK9W1cqp68Fqf21aE7KFIBg/wfOX3VJqWX m3T4SwJ/WK3MyD+dB+DBeEDbO9LF+2nUtFWmkjh6dsUxBpa0LsL7I43vUZt6s4PxvVyZ Q3Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PIBWcXKz; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si11094ejo.536.2021.09.10.16.52.14; Fri, 10 Sep 2021 16:52:38 -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=@kernel.org header.s=k20201202 header.b=PIBWcXKz; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234836AbhIJXwJ (ORCPT + 99 others); Fri, 10 Sep 2021 19:52:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:43730 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234787AbhIJXwJ (ORCPT ); Fri, 10 Sep 2021 19:52:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4C14761215; Fri, 10 Sep 2021 23:50:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631317857; bh=uIpzXfyi8+fV+u3rmhdW4lpuq9BRwztl6U+ksNKr5PI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=PIBWcXKzrLpgOJluRe/nYh34CXuRmxKG27Dbkve6wm+0eJ7x7H6z1IbAhgZArFREO 1az18KO+TyHJppslmxXpR0LoXiXckEnto/CeJUadea/vLrq5JZXOn6QE9u/9gvPh3l BzFIULLWf1jk/uYBj1MjA2kQ+Z1d8xjnPxe4YPNw74JLvUyQzYkn2Lr+sf4eFvxeSh /IuDhsR1qGJ67svnFkpkL4xyAqunt6zgwVkeAUJW9U61xopJL6l2khHnwWL/kBEz06 OpdpNLK0eu9nvb5P/G60oOIskv+VfLNCD8sMEtGb10Nw/LMYD/E2fhoXFATagx+e79 InTBhzg2s9w6A== Subject: Re: [PATCH 10/10] vmlinux.lds.h: remove old check for GCC 4.9 To: Nick Desaulniers , Andrew Morton Cc: Linus Torvalds , Rasmus Villemoes , Masahiro Yamada , Joe Perches , Arnd Bergmann , Stephen Rothwell , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Peter Zijlstra References: <20210910234047.1019925-1-ndesaulniers@google.com> <20210910234047.1019925-11-ndesaulniers@google.com> From: Nathan Chancellor Message-ID: <9433c702-ecf2-4197-2456-59857d38538d@kernel.org> Date: Fri, 10 Sep 2021 16:50:54 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210910234047.1019925-11-ndesaulniers@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/10/2021 4:40 PM, Nick Desaulniers wrote: > 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. Comment should be adjusted. > */ > -#if __GNUC__ == 4 && __GNUC_MINOR__ == 9 > -#define STRUCT_ALIGNMENT 64 > -#else > #define STRUCT_ALIGNMENT 32 > -#endif > #define STRUCT_ALIGN() . = ALIGN(STRUCT_ALIGNMENT) > > /* >