Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp97836imu; Wed, 2 Jan 2019 15:02:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wlw7fIG+TMptWD4WFXQg4oTDAE1Ttk8xdjAULDubhL0ZXuEHxsXKShEayEyhdYqXQh5ur8 X-Received: by 2002:a62:6408:: with SMTP id y8mr45776919pfb.202.1546470174608; Wed, 02 Jan 2019 15:02:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546470174; cv=none; d=google.com; s=arc-20160816; b=wmzMG2my47hqGHwYnv0uW0P7/IyUYv09oFiiWhfccFdA4bmOjsUjlZwEikJ7//lene 19u9gfhpZ5Ef14bb5jL2NuxrX+P5b6GebBF/mvuMpzFXAx5/lt0Ml+mC5B79Cftuixak KoKm68mCrLm/c2q6k2ZaukUrw1pvNKdC0GdGVlv+aOuuZgFBg0sAhYt2wfDaF5z851W0 Kog8LesCguvxm5pYn5d6Q3zakQdLOJtrPUx/heH7UU7BoPLl6waGG0oNk99MuTAhwzuF cE2cSYZgCdwiLKDVwp2fccwnYzKaVFssTKv8Q5YE0iC3eQ7/mOklT3DIZKFWdbjll9j5 iiJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=B8ubtLRfV5mlu4qcby/iSgRdohFhL1pZr0ECi1GvqD8=; b=CIeE6OCmgngIrk1oZ/r5ZnGRHEVRKYnPAe0jOs9JF3++7Qz0yZ9FoFQjCkj+38PWNt AzOX3k82bGx2CFcNLRd8K8nVeo/nnvpWEo0zuiVaz7x11qf1yq1VnedB5ZyigWQC/3zD NYEmLSPzgD7MZQHDSyXsVlimV4M2P3i1+yePzC+4GpzV634AniplO29yZqOSkg+lcrgt 5Qv4agLfneTWOG5Y3YMQvgEuhLx7gX9TlaFAV4v+XWR9Bv+vFu5c0RFiSJrlOs9CaKzF xpI2/iRyKEKe3hUU6dv8HnoZCuFsUPOMoT1/jjkLQcOdwved0cODjC1QKG4zQjrh5bkG ZPjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UXwcBt7f; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si32672330plg.390.2019.01.02.15.02.38; Wed, 02 Jan 2019 15:02:54 -0800 (PST) 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=UXwcBt7f; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726807AbfABU3m (ORCPT + 99 others); Wed, 2 Jan 2019 15:29:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:50228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbfABU3l (ORCPT ); Wed, 2 Jan 2019 15:29:41 -0500 Received: from linux-8ccs (unknown [47.156.141.103]) (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 ED2CF21019; Wed, 2 Jan 2019 20:29:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546460981; bh=Tlz+WDxhUktEFkRDtRxm+YNNoizm9JPaxd57VxJfvEo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UXwcBt7fwCR5cnakizoh3wj+gkHqRtPK8T2nyx1M6cEzKyNhAdbBjb66et1/+a3md 0Ngqkhz7oz/dBGe5qqjIlrl2lm02W5FQqYHEdYi4A0awJPo26xo80YcvF5nIywsB9c ZgjMok2k0UQs13V1bHCywUOBScdIVDAZCevH8V6c= Date: Wed, 2 Jan 2019 21:29:39 +0100 From: Jessica Yu To: Mathias Krause Cc: Arnd Bergmann , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Rusty Russell Subject: Re: [PATCH] vmlinux.lds.h: drop unused __vermagic Message-ID: <20190102202938.GA26600@linux-8ccs> References: <1546173604-26066-1-git-send-email-minipli@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1546173604-26066-1-git-send-email-minipli@googlemail.com> X-OS: Linux linux-8ccs 4.12.14-lp150.12.28-default x86_64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ Mathias Krause [30/12/18 13:40 +0100]: >The reference to '__vermagic' is a relict from v2.5 times. And even >there it had a very short life time, from v2.5.59 (commit 1d411b80ee18 >("Module Sanity Check") in the historic tree) to v2.5.69 (commit >67ac5b866bda ("[PATCH] complete modinfo section")). > >Neither current kernels nor modules contain a '__vermagic' section any >more, so get rid of it. > >Signed-off-by: Mathias Krause >Cc: Rusty Russell >Cc: Jessica Yu Thanks for the cleanup. Reviewed-by: Jessica Yu >--- > include/asm-generic/vmlinux.lds.h | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h >index 3d7a6a9c2370..530ce1e7a1ec 100644 >--- a/include/asm-generic/vmlinux.lds.h >+++ b/include/asm-generic/vmlinux.lds.h >@@ -332,7 +332,6 @@ > __start_rodata = .; \ > *(.rodata) *(.rodata.*) \ > RO_AFTER_INIT_DATA /* Read only after init */ \ >- KEEP(*(__vermagic)) /* Kernel version magic */ \ > . = ALIGN(8); \ > __start___tracepoints_ptrs = .; \ > KEEP(*(__tracepoints_ptrs)) /* Tracepoints: pointer array */ \ >-- >2.19.2 >