From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F389C73C43 for ; Tue, 9 Jul 2019 12:04:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13C9221537 for ; Tue, 9 Jul 2019 12:04:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="dn6Irr6W" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726823AbfGIMEO (ORCPT ); Tue, 9 Jul 2019 08:04:14 -0400 Received: from terminus.zytor.com ([198.137.202.136]:41425 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbfGIMEO (ORCPT ); Tue, 9 Jul 2019 08:04:14 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x69C3arr1902264 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 9 Jul 2019 05:03:36 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x69C3arr1902264 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019061801; t=1562673817; bh=uURZ37HfIgMAvVVbO7RjyevVofVShrjM/dTDNFpp52g=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=dn6Irr6WMw8dBRn2unL2eS4nJN1J/IAYAUMi/p2WIKxmLuKUh0Us0Z0UtU6mFBLZX UPXlP/IKXHp2nD5KE9aIR0epeZH9ihi76Tjc5TZqyJHQUCim1GbEkJXr6BfuBn6bPb Mml03ooq6QAuZsnHsC1jiuVzFOqaM6i2OYuoBNJ+NV+Dzh2IllExQzPf/iSbBfWXgh PNHESpVagF4e/PZvWmxaam4qvaT9cPZHTm1bhlEoOaTFdp9KausS5c3Sss20RyAn4E QU1BbGeprX9/oHCC9N1n3/onw88hgWHYEVnl++oL49d12X7tmmtyumCv3/8tGsBCQJ MRfd+ggk9APMg== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x69C3YGo1902260; Tue, 9 Jul 2019 05:03:34 -0700 Date: Tue, 9 Jul 2019 05:03:34 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Ross Zwisler Message-ID: Cc: zwisler@google.com, zwisler@chromium.org, johannes.hirte@datenkhaos.de, tglx@linutronix.de, bp@alien8.de, hpa@zytor.com, groeck@google.com, stable@vger.kernel.org, mingo@kernel.org, linux-kernel@vger.kernel.org, keescook@chromium.org, klaus.kusche@computerix.info, groeck@chromium.org Reply-To: linux-kernel@vger.kernel.org, keescook@chromium.org, groeck@google.com, stable@vger.kernel.org, mingo@kernel.org, groeck@chromium.org, klaus.kusche@computerix.info, zwisler@google.com, tglx@linutronix.de, johannes.hirte@datenkhaos.de, zwisler@chromium.org, bp@alien8.de, hpa@zytor.com In-Reply-To: <20190701155208.211815-1-zwisler@google.com> References: <20190701155208.211815-1-zwisler@google.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] Revert "x86/build: Move _etext to actual end of .text" Git-Commit-ID: 013c66edf207ddb78422b8b636f56c87939c9e34 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 013c66edf207ddb78422b8b636f56c87939c9e34 Gitweb: https://git.kernel.org/tip/013c66edf207ddb78422b8b636f56c87939c9e34 Author: Ross Zwisler AuthorDate: Mon, 1 Jul 2019 09:52:08 -0600 Committer: Ingo Molnar CommitDate: Tue, 9 Jul 2019 13:57:31 +0200 Revert "x86/build: Move _etext to actual end of .text" This reverts commit 392bef709659abea614abfe53cf228e7a59876a4. Per the discussion here: https://lkml.kernel.org/r/201906201042.3BF5CD6@keescook the above referenced commit breaks kernel compilation with old GCC toolchains as well as current versions of the Gold linker. Revert it to fix the regression and to keep the ability to compile the kernel with these tools. Signed-off-by: Ross Zwisler Signed-off-by: Thomas Gleixner Reviewed-by: Guenter Roeck Cc: Cc: "H. Peter Anvin" Cc: Borislav Petkov Cc: Kees Cook Cc: Johannes Hirte Cc: Klaus Kusche Cc: samitolvanen@google.com Cc: Guenter Roeck Link: https://lkml.kernel.org/r/20190701155208.211815-1-zwisler@google.com Signed-off-by: Ingo Molnar --- arch/x86/kernel/vmlinux.lds.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 0850b5149345..4d1517022a14 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S @@ -141,10 +141,10 @@ SECTIONS *(.text.__x86.indirect_thunk) __indirect_thunk_end = .; #endif - } :text = 0x9090 - /* End of text section */ - _etext = .; + /* End of text section */ + _etext = .; + } :text = 0x9090 NOTES :text :note