Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp847766ybi; Fri, 12 Jul 2019 05:38:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzEAhgcG0evrinvuVmg84IRqmbzTLggXOC0bkTjgOqdtjvn+0tr4PSmrAEZzO3I4ALmO4Pm X-Received: by 2002:a63:205f:: with SMTP id r31mr10617107pgm.159.1562935128595; Fri, 12 Jul 2019 05:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562935128; cv=none; d=google.com; s=arc-20160816; b=YS1Q+zE+EhSTODHVO2a9JvBXSn7Cw4sRBpNeInTQqvrR8n/RZ5bObmKrnLwFXh3sXQ /IacPxEh38pcaP0mpW3R9tknz+ZBLFtVAiSR09143Obx92KmUQojOrva+kQlLs7bbNT+ xg2Zu5uHXekwr7Stj69ebc/tkZrTDTnssCrrCq1kckrfZu05X6EN5iO8SbNRuRb9ja6t VQ2UIm4WnV7n1jivbTmBAwS8V/ey2HjTN6w7JMpctwq1in140t2vmhglqyH/Jtn8prBe LoNotST/2C7dbfKHoctkp4SXjy4hVSKYE2KaYHWcdEFV42RrDXWnM37vvXbAt9gn+dUx W4BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=f+9j5L25OU6PvjPVbpd0iHk7Dl3pB9KjSxvDl+Emhuw=; b=vIaqwdo/tzk5RkFUt5kzBzmo5kHZRqcqxGlzmKqTTSrJYYLCwYex/qvBodqEjme9rt ds+XMCDMBwx77tY8IprpEB9IdIvlMfCxMnG5taQ6qRI8uooP4g/+mJQo2TwzhTBKXZ/r JoAV4HS6r1sPjQk8EA6EOiD8mXi54QsMtPwa07vD8TqFJWiCaZsczJEowsIJ8qTTy2sX XZ789e5YWdFnCT/I2D2Aj7lIKH3sgrzKnWkc0sEF4L1Oxi2QXZzI7CA82E88ffVwHn7R UP9ePdouaG8x6BIeKfnIk8le9cvwI8PDHBKCJKpUXc633wznmJixhEwB9dIq6Uqm9EpL JVig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CoUK+qp+; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y34si8074662plb.423.2019.07.12.05.38.33; Fri, 12 Jul 2019 05:38:48 -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=@kernel.org header.s=default header.b=CoUK+qp+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729831AbfGLMfI (ORCPT + 99 others); Fri, 12 Jul 2019 08:35:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:55328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729212AbfGLMfB (ORCPT ); Fri, 12 Jul 2019 08:35:01 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3AEA9216B7; Fri, 12 Jul 2019 12:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934900; bh=TyjZHA5J/rjfmvLhvSpZtxGosN4QLpv8RgvSBHoXeK4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CoUK+qp+Thxv/rn0U4SUZSkmO9g7qT9uGQGRViZZXSCsorjfdjJYNG3dcjtQZ8tDx xuL8SlzZS/4V9K/UE31YvCv4VKyv2FzI67IdM10MuRjuoailGRauHJd3yJZu2j59qY gBcIXWySFusRkb9uun/EeYfY1cy1XkuTrQmWGmjM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ross Zwisler , Thomas Gleixner , Guenter Roeck , "H. Peter Anvin" , Borislav Petkov , Kees Cook , Johannes Hirte , Klaus Kusche , samitolvanen@google.com, Guenter Roeck , Ingo Molnar Subject: [PATCH 5.2 51/61] Revert "x86/build: Move _etext to actual end of .text" Date: Fri, 12 Jul 2019 14:20:04 +0200 Message-Id: <20190712121623.439584746@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121620.632595223@linuxfoundation.org> References: <20190712121620.632595223@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ross Zwisler commit 013c66edf207ddb78422b8b636f56c87939c9e34 upstream. 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 Signed-off-by: Greg Kroah-Hartman --- arch/x86/kernel/vmlinux.lds.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- 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