File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ static bool is_ignored_symbol(const char *name, char type)
105
105
};
106
106
107
107
static const char * const ignored_prefixes [] = {
108
+ "$" , /* local symbols for ARM, MIPS, etc. */
109
+ ".LASANPC" , /* s390 kasan local symbols */
108
110
"__crc_" , /* modversions */
109
111
"__efistub_" , /* arm64 EFI stub namespace */
110
112
NULL
@@ -198,19 +200,9 @@ static int read_symbol(FILE *in, struct sym_entry *s)
198
200
}
199
201
else if (toupper (stype ) == 'U' )
200
202
return -1 ;
201
- /*
202
- * Ignore generated symbols such as:
203
- * - mapping symbols in ARM ELF files ($a, $t, and $d)
204
- * - MIPS ELF local symbols ($L123 instead of .L123)
205
- */
206
- else if (sym [0 ] == '$' )
207
- return -1 ;
208
203
/* exclude debugging symbols */
209
204
else if (stype == 'N' || stype == 'n' )
210
205
return -1 ;
211
- /* exclude s390 kasan local symbols */
212
- else if (!strncmp (sym , ".LASANPC" , 8 ))
213
- return -1 ;
214
206
215
207
/* include the type field in the symbol name, so that it gets
216
208
* compressed together */
You can’t perform that action at this time.
0 commit comments