Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp741330ybx; Wed, 6 Nov 2019 07:45:32 -0800 (PST) X-Google-Smtp-Source: APXvYqyifFD0VbabsAwQJCMwd1kcKlRCUCtoVGaWYI249hd31UFPVcKd4bXyxz+8kw7vHbwO0I74 X-Received: by 2002:a17:906:194a:: with SMTP id b10mr7677989eje.123.1573055131987; Wed, 06 Nov 2019 07:45:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573055131; cv=none; d=google.com; s=arc-20160816; b=g2Nu5cgo6/zbqZzzOzi2IYGAVYZfxiZaoODFfITY7W8Df2WqWg3yp8+ArJctGPz4v3 hwQRhycX7b0IH+ubGZJy4nEUyh8VtXMdA+P07KilD6gBx/sXNNsrCNhJaDnYpuo0w9E9 JyRJrRGU+Resd/VYcaAfQvf/gZf9Nn8HrKq+9MIN2hkayYouAuW3O7av2Oqzce4hKtlh Swrc/DUXv+7427Trz8LlU1x/HPIM/zuERhAnqQ18536Y900XZlrF2Rqo9lKFoZm7KoIU i+GrlSrJGNhClrYDDpc0wzJNu8iYqwRGv3XlBM3u4Z3RZcppyzlX91Iuu6dWHOWFEAhN TXkg== 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:dkim-filter; bh=RxMn3f0/d5NahhDyspoF9+9+D7Y+JC9cLu0o3W25/nQ=; b=CIr0tsBB94eAaRu6n/0581STcuMgXhGbQ90gNrIjze3XdbIruD6QDUFDZWDKU83IAr LxJUcsZ3zzZ1PsyrVnvvJX0OacsU7pkwbQAwfXshtdKewNI7drHmqUx5NplyyBtpAw2h TtQ8M3OCbJcEDjzENrOCCUyE072GX+GValFvJqC09YQCgayz23jedv1xx1KGPan/sUFl AtWISxnEideSa0fu7CgRtEp4ATfteqmZljEOFYjIEfxrhVH0XF3a/gylkjzIC0XnTX5+ nRRLKEuv1zckmLJSvavWUaIJToINiyJxAbAoaMhVtOmAE7pBvfJqf5Arv8pdQy1V3SaM YTbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="gfvT/fLJ"; 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 p22si14767274eja.204.2019.11.06.07.45.08; Wed, 06 Nov 2019 07:45:31 -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=@nifty.com header.s=dec2015msa header.b="gfvT/fLJ"; 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 S1732016AbfKFPmT (ORCPT + 99 others); Wed, 6 Nov 2019 10:42:19 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:30369 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727028AbfKFPmT (ORCPT ); Wed, 6 Nov 2019 10:42:19 -0500 Received: from mail-vk1-f178.google.com (mail-vk1-f178.google.com [209.85.221.178]) (authenticated) by conssluserg-01.nifty.com with ESMTP id xA6Fg2es007430; Thu, 7 Nov 2019 00:42:03 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com xA6Fg2es007430 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1573054923; bh=RxMn3f0/d5NahhDyspoF9+9+D7Y+JC9cLu0o3W25/nQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=gfvT/fLJp1LpDr8mZOQAWADFGF5N68hUU27eKsdJG2yHDp8P5KAS8Y6u2nzrzbdQ1 UoerufW73gIwj/EuNg/6vcjauGMg8sJbfQzmlHUgsx4IHBch0VA3id7OG5oIWxnIA7 Y3jl7k6OdqF8W3r7WM0ZjafEM8EiwrLwb30CyaGYRPpo7ruEjZbpeOBv3jXlk+rT1q FvkbzZeLptNTkZMuO8cY5Z5Fo3iOsmtKedKsdYISnqnh8EL3hLiiKoX3BnuvZmJKiu Q8YBfi1vWQV6mk/IJbzKz2aCofj7nH1QR/72a1bdqLpHqckH1c23FqIRKOhaBMtbS8 bsiTPdTwKh6Jg== X-Nifty-SrcIP: [209.85.221.178] Received: by mail-vk1-f178.google.com with SMTP id o198so5712362vko.11; Wed, 06 Nov 2019 07:42:03 -0800 (PST) X-Gm-Message-State: APjAAAWnNlffQCcKJMCSsUZS9gPGcTIyMh5nsIY6oICP1B1sI570d1hd 4PWhYEvQZ3MAjcguUmiihpebU3XEkJKMrSRQHaQ= X-Received: by 2002:a1f:4b05:: with SMTP id y5mr1558124vka.12.1573054921774; Wed, 06 Nov 2019 07:42:01 -0800 (PST) MIME-Version: 1.0 References: <20191018043148.6285-1-yamada.masahiro@socionext.com> In-Reply-To: <20191018043148.6285-1-yamada.masahiro@socionext.com> From: Masahiro Yamada Date: Thu, 7 Nov 2019 00:41:25 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] asm-generic/export.h: make __ksymtab_* local symbols To: Linux Kernel Mailing List , Jessica Yu Cc: Nicholas Piggin , Al Viro , Arnd Bergmann , linux-arch 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 Fri, Oct 18, 2019 at 2:03 PM Masahiro Yamada wrote: > > For EXPORT_SYMBOL from C files, defines __ksymtab_* > as local symbols. > > For EXPORT_SYMBOL from assembly, in contrast, > produces globally-visible __ksymtab_* symbols due to this .globl > directive. > > I do not understand why this must be global. It still works without > this .globl directive. > > Signed-off-by: Masahiro Yamada > --- I did not get objection, at least. Applied to linux-kbuild. > > include/asm-generic/export.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/asm-generic/export.h b/include/asm-generic/export.h > index fa577978fbbd..80ef2dc0c8be 100644 > --- a/include/asm-generic/export.h > +++ b/include/asm-generic/export.h > @@ -31,7 +31,6 @@ > */ > .macro ___EXPORT_SYMBOL name,val,sec > #ifdef CONFIG_MODULES > - .globl __ksymtab_\name > .section ___ksymtab\sec+\name,"a" > .balign KSYM_ALIGN > __ksymtab_\name: > -- > 2.17.1 > -- Best Regards Masahiro Yamada