X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fkallsyms.c;h=ad2434b26970c17b4b72efb82761afd0ac04042d;hb=37897989232e6533772b0e24369b35ee9f56c8b6;hp=5d20a2e24cd1e18814483327645f25b6c2f73d0e;hpb=7022b15e2a9f878fd5184586064c63352c3dd225;p=linux-2.6-omap-h63xx.git diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 5d20a2e24cd..ad2434b2697 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -108,6 +108,9 @@ static int read_symbol(FILE *in, struct sym_entry *s) /* exclude also MIPS ELF local symbols ($L123 instead of .L123) */ else if (str[0] == '$') return -1; + /* exclude debugging symbols */ + else if (stype == 'N') + return -1; /* include the type field in the symbol name, so that it gets * compressed together */