public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Yoshinori Sato <ysato@users.sourceforge.jp>
To: Andrew Morton <akpm@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 4/6] h8300 CONFIG_KALLSYMS fix
Date: Sat, 16 Feb 2008 01:23:00 -0500	[thread overview]
Message-ID: <87tzk9zagr.wl%ysato@users.sourceforge.jp> (raw)
In-Reply-To: <87abm1o2ck.wl%ysato@users.sourceforge.jp>

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

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
> <ysato@users.sourceforge.jp>

  reply	other threads:[~2008-02-16  6:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-16  6:13 [PATCH 4/6] h8300 CONFIG_KALLSYMS fix Yoshinori Sato
2008-02-16  6:23 ` Yoshinori Sato [this message]
2008-02-16  6:32 ` Andrew Morton
2008-02-16 10:46   ` Sam Ravnborg
2008-02-17  6:09     ` Paul Mundt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tzk9zagr.wl%ysato@users.sourceforge.jp \
    --to=ysato@users.sourceforge.jp \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox