Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757705Ab1ELOa5 (ORCPT ); Thu, 12 May 2011 10:30:57 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:55916 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752388Ab1ELOa4 convert rfc822-to-8bit (ORCPT ); Thu, 12 May 2011 10:30:56 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=pcJlf4oxOWuXj1xn/XFgHvfwxoBDIio0v6Dw0CDSNryF0L3R+KngtGYkLqtkJ7PqSY GpxQcqfHh7Eu8x8DhMMoS9IVEvCAUegZ/xIMWG23UM0q1E6Tohyva7kCPPyJE7Lbb808 1hY+Xg0+vnQJpYyalhV3G52uMxIZ4dS52f0m4= MIME-Version: 1.0 In-Reply-To: References: <1302960373-5309-1-git-send-email-abogani@kernel.org> From: Mike Frysinger Date: Thu, 12 May 2011 10:30:34 -0400 Message-ID: Subject: Re: [PATCH 0/4] Speed up the symbols' resolution process V4 To: Alessio Igor Bogani Cc: Rusty Russell , Tim Abbott , Anders Kaseorg , Jason Wessel , Tim Bird , LKML , Linux Embedded Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1348 Lines: 39 On Thu, May 12, 2011 at 05:10, Alessio Igor Bogani wrote: > 2011/5/11 Mike Frysinger: > [...] >> if you export _foo/foo, you'll get an error with the current code: >> /* EXPORT_SYMBOL(foo); */ >>        .section        ___ksymtab__foo,"a",@progbits >> ___ksymtab_foo: >> /* EXPORT_SYMBOL(_foo); */ >>        .section        ___ksymtab___foo,"a",@progbits >> ___ksymtab__foo: > [...] > > So I can suggest two possible solutions for section names: > > 1) As you suggested change "__" to "+" so > i.e. ___ksymtab+foo > > 2) Pick a more appropriate name: > i.e. ___ksym__foo > or > i.e. ___ksymsec__foo > > In fact these section names aren't a table of symbols (in ksymtab the > "tab" part stand for table, I suppose) so I think that name should be > changed accordingly (my patchset create a temporary section for every > symbol). > > Which do you prefer? i suggested the diff split char as i dont know how embedded the "ksymtab" section name is in the rest of the tree. but if changing that is an option, that'd work too. either works for me, so whichever is less effort for you. -mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/