linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ths@linux-mips.org
Date: Fri, 25 Feb 2005 13:57:30 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ths@ftp.linux-mips.org  05/02/25 13:57:24

Modified files:
        scripts        : kallsyms.c 

Log message:
        Exclude MIPS ELF local symbols.

diff -urN linux/scripts/kallsyms.c linux/scripts/kallsyms.c
--- linux/scripts/kallsyms.c    2005/01/13 14:07:09     1.11
+++ linux/scripts/kallsyms.c    2005/02/25 13:57:23     1.12
@@ -145,6 +145,9 @@
        else if (toupper(s->type) == 'U' ||
                 is_arm_mapping_symbol(str))
                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 */

<Prev in Thread] Current Thread [Next in Thread>