Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1266314lqo; Sat, 11 May 2024 15:42:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV/7HdXDYoG6iylTwLpCj1F3eiE24p/l5S5v7Vk+HqvqMv0NddDqcY2v/sCeP9+glbfB75ZFpxqSnIOe5hND/V3bU65vVYAaZi+45n7/Q== X-Google-Smtp-Source: AGHT+IGaiielxgtRSLclJIFIiTj74bUHEhhGxWtsGKZZedyYbvDizPmPaHd/n+N5L/7Ir6HXyLp4 X-Received: by 2002:ac8:580c:0:b0:43a:e995:f1a4 with SMTP id d75a77b69052e-43dfdac5347mr79262861cf.30.1715467329555; Sat, 11 May 2024 15:42:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715467329; cv=pass; d=google.com; s=arc-20160816; b=Or395UVbNhn7fGH7MDMTgTnM4MB8/zu0kDca2zP6PTXAK4aL+5bGipTxpHVOhiDBnu BWv+Mv+6Y6YQuMBlv+FZMM6t4/WoV7wJqNgnjdaGh/OH47Knk7Q6D7GQa78VTM8x3yWa vvzGMjRzu2wKxdI/FSrV3V7kUtXSwFctuG9/m2md1AHplh5liStzeyoYGiRKzmxwdqgK snq9rVF4dqOMpSuEeFqh1zndVQUSnuivU82VyIqq4p9R2pzCIktAE8ygTOhbh1O5w5PD sLaOVtMiolwO+2yleboE4NntBlS2FJAjsLu9vl+AjowK+6rXrV1nEINL+GH9HLxGKOkq ky+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=qAHFM88/yKEIIWcahJngYsB9RtXSWKVbO/YNrJK1KEE=; fh=iQIraDv4PDdKf3EWombABi4xI9hLKzJZk0VEpKfok2k=; b=oIUxPeAQv9InJdW8WvwsLlwWvEiVK4k0UA9u6ahBYJydrUmHCKniPTNpDQg4d3of9I gto+4Sx5wUij5lliJ356JcClQ3AeqPLtKz6P7zI8DtJxftwK8E6ktGvIcv2HHdtUWgVT xO8uxgxBsNUGNPpB3qO4vcX62wnWZ69snOdo+AWfneHEfrDu94mhGIsLYZPTEVnfvSbY Rew7EUCeUEdvBraP2krcW1naA3CYA7Bvgd+CdQYhcQPomd+jJn1dKkmnAfq+J+jiU2Ur N4Jc5jpBlXcPd+drOQrgMzEAkPijfHjzAPWloVI/zlm8TT8WEnflqiURgdsRwWzHQ5YM HEvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EeNmwkY1; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-176758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176758-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df54b6221si70746091cf.208.2024.05.11.15.42.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 15:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EeNmwkY1; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-176758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176758-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 46E241C20A86 for ; Sat, 11 May 2024 22:42:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 372E520B04; Sat, 11 May 2024 22:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="EeNmwkY1" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B15EB1CAB5; Sat, 11 May 2024 22:41:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715467322; cv=none; b=hDGDvX2ZCGqtnARA3HizMhVIIC0i87tU0IErUVKODUXe49JjbosSyEfXgVbYFjlbdYBpTlOi4hBz+KfMxzJ0BZpGynE2R/xeTQDQSW70Nvo9pKrBTZBjrXa6sgpx1DnEtBjHd7nHWXKPEmxqkBCn5Emkusify4a/Eot3XGXJbmg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715467322; c=relaxed/simple; bh=ImT+zG46hw75vkYt5VczaukzYwC+i9ZZIbn292nmwbc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uIimumnSLhukwj+5MMALgznBMd1PnL+Ac0kBnigJSGJhldPQ4MpyIxqcg8Lypz6Pzw2/Ra3l93rddrh4gTofa4sl3cjXD9PjZ9UNoqgIrFBDLQv2cYgNU2sfiI4WfGn1M2wfdvVujWW9ZHeWm+pwIDGmrV0rHrfvD9N7DFLy1Jc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=EeNmwkY1; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=qAHFM88/yKEIIWcahJngYsB9RtXSWKVbO/YNrJK1KEE=; b=EeNmwkY1RBzj2ofjbPzXHiZB4X 9Z7b7O8YHs5P87z08Mux3zlmyjmZfhq78sCJBuFmpVzbE/HMF8UrC6+4TpiDTlFhHkoq6dflzufKp w1jYdQxwvPtdmbDBuKDkM2Fptwjb2ynEk24Xm8A/gAI0bV0NGzV00WDC9KyrnKI5ROrOVRhOHD0Tk Ub38CUkDUzFjez18TSWHNgK3hqOK+b1Y7yyFssWtjko5DIpJvPHZjIWN7vyQgu1z2ZMR1pSS9ljWz 4ZtP5U1fXs669lCqKOEFJ5lAZJWUGDSifWYTmWQt6vAycIVZE55NrLgLl07jrr/TzOyb6hosrJz6a j5aCQSwg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1s5vPZ-00000008qCI-2kct; Sat, 11 May 2024 22:41:52 +0000 Date: Sat, 11 May 2024 15:41:45 -0700 From: Luis Chamberlain To: wangyao@lemote.com, Masahiro Yamada Cc: masahiroy@kernel.org, ainux.wang@gmail.com, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] modules: Drop the .export_symbol section from the final modules Message-ID: References: <20240417053530.30995-1-wangyao@lemote.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240417053530.30995-1-wangyao@lemote.com> Sender: Luis Chamberlain On Wed, Apr 17, 2024 at 01:35:30PM +0800, wangyao@lemote.com wrote: > From: Wang Yao > > Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost") > forget drop the .export_symbol section from the final modules. > > Signed-off-by: Wang Yao Masahiro, commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost") was your change, wanna address / take it through your tree? It makes sense to me though. Luis > --- > scripts/module.lds.S | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/module.lds.S b/scripts/module.lds.S > index bf5bcf2836d8..89ff01a22634 100644 > --- a/scripts/module.lds.S > +++ b/scripts/module.lds.S > @@ -13,6 +13,7 @@ SECTIONS { > /DISCARD/ : { > *(.discard) > *(.discard.*) > + *(.export_symbol) > } > > __ksymtab 0 : { *(SORT(___ksymtab+*)) } > -- > 2.27.0 >