Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2350257lqo; Mon, 13 May 2024 16:11:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXgCnmxxpInlMX2F45FP7AD8jcUmJrzzYtlJNUbBhr14qdUIxPNldm3hnVs4i4Xhthgs4ylO/Vk5l+7qr08gFPBSab4nwHkkZtLKuSMVQ== X-Google-Smtp-Source: AGHT+IHGrf3DC2wtcsVpNGesmXNQqYT6dOZyUiRboCLr2xqXfveJ5G0oxCOu3Y2ncgEuW6Azn2wy X-Received: by 2002:a05:6214:5b87:b0:6a0:cd69:374d with SMTP id 6a1803df08f44-6a16824151fmr141173446d6.50.1715641893265; Mon, 13 May 2024 16:11:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715641893; cv=pass; d=google.com; s=arc-20160816; b=Naqo5vpVYM5ynpPDJE3gj3DPpd7/V+QDFh5R5Yg3IFWyGzQZiHX2UAwCC1vg5fbiym qWkzMsRdUbNOkxtC1HIt3PpvLyBwI5QEDbiRzMeEN1R+eO8HGBaZ2xrKodFkT91/aF2f zTET9jD0WyiCr1rKUCDjafIZczoYG6NpYPbaPmu4+mjBnxe7jZzkF/58dVa50X+6I/y1 S0Kv+D7PtoSFI99vvyudHg+rUhmSoUrPsdUQWYOug1yJWbtse0lWl3ADRDCmgAk8Y7dT hQ+SN8R/P6msXbZLfE9bWADpy8dZRAVgMKk+2Y142bAgYECLYdlS4tv4Yk2eEBazIjEu vGNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=2kWISZcfzGb/J+gPXYiBomaaacOpzPr2fpMj7uq280M=; fh=3vG2n7y/8ddS9B8xJLSflxaeKUBnXs+dg8bNTZaR7hg=; b=JdakIiahOqwss7Zfooq0xv7/2+5Pf7Hqn10ykSdN0LWdlGEO8KKBBOfViXqP2KbFG1 2mIxJec07uNMN1Zr9Llru8GWNynzMTjGRmCeSDReGa5EhN7/0CPV9m0tqu11unLkAZBl RqTgUjew9/22cOUlEubVnQzy5lnKrw8dbqPwwqjcntdClBXzrqb+Anwm/RpRKaxKsJfg GAzn9b6sA6p77atiYqpp7xN5C/FHVIU3MUpasx9Y65uBk3Z821PsVibf+6RsdQDfQxA9 C8EvsbfOQNxP/DMI6Ia8FhMbklT9kqiTfIe7sQJHNQSGHCmj+EFMhVblt6QMTGkqfvgo 7QXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RTLky4xU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178167-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178167-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. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f1d5ed3si109458256d6.111.2024.05.13.16.11.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 16:11:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178167-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RTLky4xU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178167-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178167-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 D7C581C2166E for ; Mon, 13 May 2024 23:11:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5B4085643; Mon, 13 May 2024 23:11:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RTLky4xU" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EAA3684D07; Mon, 13 May 2024 23:11:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715641869; cv=none; b=eJH27GMfOWxmgbl3ZLp7nGIhmCeZAzY0WPWOOsoAi9bVm3lg4dS7dUp/vxMrI2XXWRdAwpQEgpDMISq4bChCPE6Q52rmyR6GRNDDPGSPEULp5q2nn16pf8dcxFoHTU42GLLljGWabJJz1stFv4edFD7YVDzbYBng4I7JPYArG+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715641869; c=relaxed/simple; bh=hQfcbOiJ/AYUeUOi4w81BbwdO7aOw9T215Ro5XK324c=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ER9BD4vKbr2ZbZGc8cuk0L9iARTqGetLgVMpgbrhkvYsGzNdElmVYZKP6tfAlNa/W09Om5eA1ks9/4bWZSL9+r90wXpDmeqGxS82V0BmPYCmJNhorjPr3w2eDjcmmmjEmI5BywJzT8TG7+n6mdNQFmKna/uK1IQv/CRARV9psuU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RTLky4xU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 766B2C113CC; Mon, 13 May 2024 23:11:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715641868; bh=hQfcbOiJ/AYUeUOi4w81BbwdO7aOw9T215Ro5XK324c=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RTLky4xUOtE02A+ob5CMhhN0i0825yAulZK8x22vH+G4k2FSpKLuY3wShDF94RO5p FytRsn0sIuGWt9XMN5qrFXy5zmNEz26ldTz09shWJVQarUrJtctdXWjY5qTat059aD OBhNMcoeutnYZhDYeu+foiGBj5uqvAMMHWFdRyp+NnT9qYDRrJ2SCOovXXbN7xTlCG aFcQV0h9vfdHOtrjarLbtCpjqp3230KBjwHcxHr9Jlkz06LKVTb+zwyIiRdzeEZuwm phLuKZA7eJAU5Ifo1HKUAgH/9VCWIRtWRwzgLcCbkh4psc7kSlRPK7KvVz/qZHudl/ 3egTHrz3VOPSg== Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2e564cad1f1so39920811fa.0; Mon, 13 May 2024 16:11:08 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWOIK38xyiPT1D7amHlK8ZkzzvylIgA5JWr/fxwVW+l1YbjVKwt9Pg8kzFtZsCmF3S7mb2fV90QWDN19NaGP5LILmgasx9sr1F8U5THa60Rfgqlz9N7EgKPsdfs5XH+WXTumWRXoYAo2JHBxA== X-Gm-Message-State: AOJu0YxzFyiyMj1YjtwTGaStIzMmYBkm+DkfBui036enzWLa3tdpl5Gr /1h5kr+D+yR3xOZLRChzbkUVCqpTR4AMEmZ2vyZ+W5zcSCmpaHHcvoI8TnY9NbbMtHjmIrkpWLj 1eU0LwPTK9/rAmRHdTsYWn/uBD8k= X-Received: by 2002:a2e:7219:0:b0:2d8:6606:9e61 with SMTP id 38308e7fff4ca-2e5203a1e5emr70320741fa.48.1715641867234; Mon, 13 May 2024 16:11:07 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240417053530.30995-1-wangyao@lemote.com> In-Reply-To: From: Masahiro Yamada Date: Tue, 14 May 2024 08:10:31 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] modules: Drop the .export_symbol section from the final modules To: Luis Chamberlain Cc: wangyao@lemote.com, ainux.wang@gmail.com, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, May 12, 2024 at 7:42=E2=80=AFAM Luis Chamberlain wrote: > > 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. Yes, applied now. Thanks for the reminder. > > 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 > > --=20 Best Regards Masahiro Yamada