Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2319526ybi; Mon, 1 Jul 2019 09:55:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSWgvM3A+Ew9m3UkmEd3JWA/uXvQbghwWLsYuqrkR6Gb8QexS8ObaNNd64xEB/YpyvkYtH X-Received: by 2002:a63:e356:: with SMTP id o22mr23062039pgj.150.1562000145517; Mon, 01 Jul 2019 09:55:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562000145; cv=none; d=google.com; s=arc-20160816; b=ztvyUVRBid9Oz+Wh9Gij5CtlmLdfnWcjp+wiun4IQ6NMGSRqAZDlrYDVxaw0Ab5ucw 8IPWxrIWF4C1lKo9ffLgnR8Db3fjXiKtzf5+ICrBzMhUZNEcvQe6cjl7l9LZES/SbApC QLSVVC6prGB2/EOsIbYAwb6TPr5hfyBp/bm6dkOZa3ohhngcibWFQWSTw7IgWfI5J4/h k0y9OZ+Coov2l/eQ9IKReM8GrvF9EaNuu+NT9K6SMz/ta8UaVVWdM/iJOF2WRoktU7P3 FVOI0+byK3FYJWOaC98AfVmzijVJMCAbBuX7frbCplcF7VaeuLZPn2eTd3AdTsZBcm+G 2NMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+iebLtLWu418k95Kx2ofdTbul5h9LD/QgsmaJTNXUic=; b=IaCdbR7N8hzLJ1SznlFI/ZfxN5O9M9exynlJf9OCHiyAPuj33pF77StPuCgj2R37HK j9SUqGdB7XZ1evWDIJRmV2VEGdKQYxQoTAE1gX0oD67iv0f+o0uVNRiPUxVwYaYWhcxq 5u6fEI1PmIeTMn6zHgHH7INqHJpIV4djM5zZ+f60uk80RfdEA7snWLFhGupaWj3KBc7B zfE39i3aTJlJ9jiVoC8zStd9Px9O6rSE+QGQxlpPUdlZ/Ti58U87SFFxAcjFBZatU8WX pMgrsIEnIbTE2Dc450VB1kzap6x2J+PfNg9pzejQyIvRG4u3et8cnk8s/LMGIlmwcMb1 vbYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YvitIodt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id u12si11038050pfh.256.2019.07.01.09.55.29; Mon, 01 Jul 2019 09:55:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YvitIodt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729040AbfGAQdC (ORCPT + 99 others); Mon, 1 Jul 2019 12:33:02 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:43507 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727261AbfGAQdC (ORCPT ); Mon, 1 Jul 2019 12:33:02 -0400 Received: by mail-yb1-f193.google.com with SMTP id f18so188139ybr.10 for ; Mon, 01 Jul 2019 09:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+iebLtLWu418k95Kx2ofdTbul5h9LD/QgsmaJTNXUic=; b=YvitIodt8pObBJlcMj4/I4OBo2yXXRz78udE0mjFcaBpi15LhVR8eDKvR8c4d/aozS gIeQTDIzxUIkPZFNJHhMvD7vkxzCWxEyImFdPkW42dNX2PLGPmNW1FC7W2ByuMZjuys8 fiLXkxNh9hJAIodVeGtVQBF5FSCDPBC9NtUZY0kjrwwFf58uv35aTkTEVzX1UTUk6r8a aslpezN1dBGILoh2tr9s1CzxMkSev+SOujMjsQgQgvCKyD+Ov6bHftOpFQt2t6/ty9e9 iXD4gyRw5qAfZiiihfJNy0VBEMqBh7F51Fo94qJhSKSM6u2C3hVGQq8heqb3Uu7WvBMn zeEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+iebLtLWu418k95Kx2ofdTbul5h9LD/QgsmaJTNXUic=; b=YGYak7GEjDPiUr5hdRKDc0F9EupnsQDakS34C+NHxfA5dwL0NaB8BMSGIdyKNPzCzt S0Vho6N0v6bpv598hO2dR91nXN8WRHC6vdbvvqGYmViXUQ+hYgITI5VqJsmGLe9Kc8QT Z2Q4GT/mQv/rw0k5huEgHpWKW4MazXz265TBu1aq+vsE+4k7YLTJKFcLzg5txbdPEZq5 6i4iPTpCPx/t3lf4mAYrLNX9/Tfva8MjYu+ZEl/blFevQMSuFYcsDaiDdBZgZKyatNgy kSBgxBJiLhm/gYP6LdkxRtaNGJOS6/8YoFOpNpNHh13a7hPKHJUIru+WnU29wMgiB5YP CaqA== X-Gm-Message-State: APjAAAVExHSXpLyYj6EPv3whKVmp0XE13H8CurynXkIKDIWYCNkIJRsX RNLfnVxHX87e5vUz48R5XyenZaW/xrAOfaMf62ZtFA== X-Received: by 2002:a25:1854:: with SMTP id 81mr16323730yby.152.1561998781066; Mon, 01 Jul 2019 09:33:01 -0700 (PDT) MIME-Version: 1.0 References: <20190701155208.211815-1-zwisler@google.com> In-Reply-To: <20190701155208.211815-1-zwisler@google.com> From: Guenter Roeck Date: Mon, 1 Jul 2019 09:32:49 -0700 Message-ID: Subject: Re: [PATCH] Revert "x86/build: Move _etext to actual end of .text" To: Ross Zwisler Cc: linux-kernel , Ross Zwisler , "H. Peter Anvin" , Borislav Petkov , Ingo Molnar , Thomas Gleixner , x86@kernel.org, Kees Cook , Johannes Hirte , Klaus Kusche , Sami Tolvanen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 1, 2019 at 8:52 AM Ross Zwisler wrote: > > This reverts commit 392bef709659abea614abfe53cf228e7a59876a4. > > Per the discussion here: > > https://lkml.org/lkml/2019/6/20/830 > > the above referenced commit breaks kernel compilation with old GCC > toolchains as well as current versions of the Gold linker. Revert it so > we don't regress and lose the ability to compile the kernel with these > tools. > > Signed-off-by: Ross Zwisler Reviewed-by: Guenter Roeck > --- > 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 > > -- > 2.20.1