From 15b067196ee5cdd63f79ab6359f006157d621750 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 6 Sep 2005 15:16:41 -0700 Subject: [PATCH] --- yaml --- r: 7337 b: refs/heads/master c: 6f00df24ee394f345a8789d3a2f98fc1d9195b9f h: refs/heads/master i: 7335: ad3986a0bc617d65bed40393b9e2f56aced858e1 v: v3 --- [refs] | 2 +- trunk/scripts/kallsyms.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7c6b3fc43146..2a79d3466693 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 022a4a7bbdefdedc2706a13c81c832d8c3173c6d +refs/heads/master: 6f00df24ee394f345a8789d3a2f98fc1d9195b9f diff --git a/trunk/scripts/kallsyms.c b/trunk/scripts/kallsyms.c index 1f53d4fc4c1d..d591578bd3b2 100644 --- a/trunk/scripts/kallsyms.c +++ b/trunk/scripts/kallsyms.c @@ -116,6 +116,9 @@ static int read_symbol(FILE *in, struct sym_entry *s) else if (toupper(stype) == 'U' || is_arm_mapping_symbol(sym)) return -1; + /* exclude also MIPS ELF local symbols ($L123 instead of .L123) */ + else if (str[0] == '$') + return -1; /* include the type field in the symbol name, so that it gets * compressed together */