tree 5370b391ad05cd98bd189e163e209a4b076f4bb7 parent 022a4a7bbdefdedc2706a13c81c832d8c3173c6d author Ralf Baechle <[EMAIL PROTECTED]> Wed, 07 Sep 2005 05:16:41 -0700 committer Linus Torvalds <[EMAIL PROTECTED]> Thu, 08 Sep 2005 06:57:20 -0700
[PATCH] Strip local symbols from kallsyms Local symbols generated by gcc start with a `$'; no point in including them in the kernel. Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> scripts/kallsyms.c | 3 +++ 1 files changed, 3 insertions(+) diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -116,6 +116,9 @@ static int read_symbol(FILE *in, struct else if (toupper(stype) == 'U' || is_arm_mapping_symbol(sym)) return -1; + /* exclude also MIPS ELF local symbols ($L123 instead of .L123) */ + else if (str[0] == '$') + return -1; /* include the type field in the symbol name, so that it gets * compressed together */ - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html