Re: [PATCH] kallsyms exclude local symbols

From: Paulo Marques
Date: Thu Aug 07 2008 - 08:55:37 EST


Yoshinori Sato wrote:
h8300's nm output include '.Lfoo' local symbols.
[...]
/* exclude also MIPS ELF local symbols ($L123 instead of .L123) */
- else if (str[0] == '$')
+ else if (str[0] == '$' || str[0] == '.')

The comment above needs some updating too. Something along these lines:

/* exclude also MIPS ELF local symbols (eg. $L123) and h8300 (eg .LM10) */

Other than that, the patch seems fine.

--
Paulo Marques - www.grupopie.com

"...so she told me it was either her or the ham radio, over."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/