Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1299864ybg; Fri, 18 Oct 2019 15:28:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJvTrEjBOVuTnYFgedX3F8OWbbH2ccJJ+uCGJebo3PONbyNrdIxwCqKZX8ZJxbubhTlCTA X-Received: by 2002:a17:907:4182:: with SMTP id mz2mr10829231ejb.326.1571437696221; Fri, 18 Oct 2019 15:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437696; cv=none; d=google.com; s=arc-20160816; b=xdgQ+qLD1cpX5qpHpcpb46nut2lrMtG18fd4Z1UWk+GOiwLKbjkjabxT387ESWCggU 2V2x63t1dEwO9wvEeNHK5zjMK74rtjZr3XvtIOgmNT5ovFEtHV39oG6WE64e6Q+TWapt 8GbbtkZzsZLvQ3vJR+eqRZ//EoH9iv3aocRYBDMFpY6NK6Kyk4zhZNUQZDtzqb6a0rVX mO+JCOgo2dGVWP3V+mTKaoOJkfd+rYacNdZNxP7IUNuVrCk80qI1Qz+Rs1bnCk5LNSby mzt2xQa89ZykiRGf5Edn9giSrWVjUtDE9Lo1FBo7bsJfKfuzgOwSFz/9RQKtS3r9MqaW hfbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=ZaAH2x9mWYqIOpONit+tZI2RI9D6E0HqE7mG3rRzXzI=; b=x7BzioO2o14h1rBhBU115/UKGtZ3cuO7TRWUynnskYzM3We4R6YiRqa8GQP4FKDD/H 7r9lc9B4MBmJDWyByVvvfGktbnUqei6GpSlfwhw6mde7wIW0GjyPKhaT5M7m/786SSIc fIAHZBps3zHv7ol8xWxEMCGzekhVruExJ4kFExMZCbyIN8IL+xWuIQDVD1JGhsGM5hc3 n6CjSqa48TesZ/11lS0iE1i8o4WCNbh0iYWN11t+qjmaqG+0W58JmPq6YQgLepLnzkuI E49SFTEJwKZIV54rLI5Y2Koay6snKENVbrg0QHUczmCWsrVlXrvoBJpRqmIbe395JGH2 /etA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=CUhjpJ5d; 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 x45si5079443edd.388.2019.10.18.15.27.53; Fri, 18 Oct 2019 15:28:16 -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=@nifty.com header.s=dec2015msa header.b=CUhjpJ5d; 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 S2503700AbfJRFDN (ORCPT + 99 others); Fri, 18 Oct 2019 01:03:13 -0400 Received: from condef-05.nifty.com ([202.248.20.70]:41036 "EHLO condef-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391456AbfJRFDM (ORCPT ); Fri, 18 Oct 2019 01:03:12 -0400 X-Greylist: delayed 313 seconds by postgrey-1.27 at vger.kernel.org; Fri, 18 Oct 2019 01:03:11 EDT Received: from conuserg-10.nifty.com ([10.126.8.73])by condef-05.nifty.com with ESMTP id x9I4WACR013408; Fri, 18 Oct 2019 13:32:11 +0900 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id x9I4Vnxo019790; Fri, 18 Oct 2019 13:31:49 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x9I4Vnxo019790 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1571373110; bh=ZaAH2x9mWYqIOpONit+tZI2RI9D6E0HqE7mG3rRzXzI=; h=From:To:Cc:Subject:Date:From; b=CUhjpJ5ddQUXB2baNZoqOnqabHsSVW6nlQbA9B5ptLnw9/9+ad/ikRHUQkcfEh2NJ PRoIvFwOqTVcsl+Cq8hjOaTYyZjXJhbrIkfS45DGqGMhaTYTbZEFPHRdel4Mc89OS1 fWKH9sABQqrXAriGh4HQIMSWQckqbytg5tIXyBzWdyXwZgP5j6z/GCRGnfXFCYj5Wp mw8nDFGNCJTIaTlLOtxXkPc8Ia5BSImKHoGaY5Odz+Dts9os7OFs2z2oAgMWMWurcQ vAwYzVcqjQmiyMYIA7lOuuWMKe9FIOtqZIBhH+s9xmlVrUzwIXVmxJzSIMX3U/MITc sh2WSkLYYJFjQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kernel@vger.kernel.org, Jessica Yu Cc: Nicholas Piggin , Al Viro , Masahiro Yamada , Arnd Bergmann , linux-arch@vger.kernel.org Subject: [PATCH 1/2] asm-generic/export.h: make __ksymtab_* local symbols Date: Fri, 18 Oct 2019 13:31:47 +0900 Message-Id: <20191018043148.6285-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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