Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761167AbYBPGYy (ORCPT ); Sat, 16 Feb 2008 01:24:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753928AbYBPGXn (ORCPT ); Sat, 16 Feb 2008 01:23:43 -0500 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:57232 "EHLO cdptpa-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752546AbYBPGXk (ORCPT ); Sat, 16 Feb 2008 01:23:40 -0500 Date: Sat, 16 Feb 2008 01:23:00 -0500 Message-ID: <87tzk9zagr.wl%ysato@users.sourceforge.jp> From: Yoshinori Sato To: Andrew Morton Cc: lkml Subject: Re: [PATCH 4/6] h8300 CONFIG_KALLSYMS fix In-Reply-To: <87abm1o2ck.wl%ysato@users.sourceforge.jp> References: <87abm1o2ck.wl%ysato@users.sourceforge.jp> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.1 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1517 Lines: 51 Signed-off-by: Yoshinori Sato At Sat, 16 Feb 2008 01:13:47 -0500, Yoshinori Sato wrote: > > Please comment "C_SYMBOL_PREFIX". > > Makefile | 3 ++- > arch/h8300/Kconfig | 4 ++++ > 2 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/Makefile b/Makefile > index c162370..745e31f 100644 > --- a/Makefile > +++ b/Makefile > @@ -751,7 +751,8 @@ endef > # Generate .S file with all kernel symbols > quiet_cmd_kallsyms = KSYM $@ > cmd_kallsyms = $(NM) -n $< | $(KALLSYMS) \ > - $(if $(CONFIG_KALLSYMS_ALL),--all-symbols) > $@ > + $(if $(CONFIG_KALLSYMS_ALL),--all-symbols) \ > + $(if $(CONFIG_C_SYMBOL_PREFIX),--symbol-prefix='_') > $@ > > .tmp_kallsyms1.o .tmp_kallsyms2.o .tmp_kallsyms3.o: %.o: %.S scripts FORCE > $(call if_changed_dep,as_o_S) > diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig > index 085dc6e..2804edd 100644 > --- a/arch/h8300/Kconfig > +++ b/arch/h8300/Kconfig > @@ -87,6 +87,10 @@ config HZ > int > default 100 > > +config C_SYMBOL_PREFIX > + bool > + default y > + > source "init/Kconfig" > > source "arch/h8300/Kconfig.cpu" > -- > 1.5.4.1 > > -- > Yoshinori Sato > -- 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/