aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-20 23:20:14 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-20 23:20:14 -0700
commit83804118c3e7927a7a0b5d29100f6e3aaeb0d69c (patch)
treec2c4a4e3a1402aac6c4196b9af1c4a5d26addcb2 /Makefile
parentc83cd7830ff8f40cd6402229b3df150816dbb6b5 (diff)
downloadhistory-83804118c3e7927a7a0b5d29100f6e3aaeb0d69c.tar.gz
[PATCH] Debugging option to put data symbols in kallsyms
From: Rusty Russell <rusty@rustcorp.com.au> kallsyms contains only function names, but some debuggers (eg. xmon on PPC/PPC64) use it to lookup symbols: it'd be much nicer if it included data symbols too.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8212df80ae603..da79767980e06 100644
--- a/Makefile
+++ b/Makefile
@@ -567,7 +567,7 @@ ifdef CONFIG_KALLSYMS
kallsyms.o := .tmp_kallsyms2.o
quiet_cmd_kallsyms = KSYM $@
-cmd_kallsyms = $(NM) -n $< | $(KALLSYMS) > $@
+cmd_kallsyms = $(NM) -n $< | $(KALLSYMS) $(foreach x,$(CONFIG_KALLSYMS_ALL),--all-symbols) > $@
.tmp_kallsyms1.o .tmp_kallsyms2.o: %.o: %.S scripts FORCE
$(call if_changed_dep,as_o_S)