aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/kallsyms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index 1f53d4fc4c1d..d591578bd3b2 100644
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@ -116,6 +116,9 @@ static int read_symbol(FILE *in, struct sym_entry *s)
116 else if (toupper(stype) == 'U' || 116 else if (toupper(stype) == 'U' ||
117 is_arm_mapping_symbol(sym)) 117 is_arm_mapping_symbol(sym))
118 return -1; 118 return -1;
119 /* exclude also MIPS ELF local symbols ($L123 instead of .L123) */
120 else if (str[0] == '$')
121 return -1;
119 122
120 /* include the type field in the symbol name, so that it gets 123 /* include the type field in the symbol name, so that it gets
121 * compressed together */ 124 * compressed together */