};
static const char * const ignored_prefixes[] = {
+ "$", /* local symbols for ARM, MIPS, etc. */
+ ".LASANPC", /* s390 kasan local symbols */
"__crc_", /* modversions */
"__efistub_", /* arm64 EFI stub namespace */
NULL
}
else if (toupper(stype) == 'U')
return -1;
- /*
- * Ignore generated symbols such as:
- * - mapping symbols in ARM ELF files ($a, $t, and $d)
- * - MIPS ELF local symbols ($L123 instead of .L123)
- */
- else if (sym[0] == '$')
- return -1;
/* exclude debugging symbols */
else if (stype == 'N' || stype == 'n')
return -1;
- /* exclude s390 kasan local symbols */
- else if (!strncmp(sym, ".LASANPC", 8))
- return -1;
/* include the type field in the symbol name, so that it gets
* compressed together */