Linus, please apply.
Trivial optimization from Andrew Morton.
Name: Don't sort kallsyms symbols twice
Author: Andrew Morton
Status: Trivial
D: scripts/kallsyms | 2 +-
D: 1 files changed, 1 insertion(+), 1 deletion(-)
--- 25/scripts/kallsyms~b Tue Nov 19 21:54:27 2002
+++ 25-akpm/scripts/kallsyms Tue Nov 19 21:54:34 2002
@@ -31,7 +31,7 @@ encode_symbols()
}
# FIXME: Use System.map as input, and regenerate each time in Makefile.
-$NM $1 | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > kallsyms.map
+$NM -n $1 | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > kallsyms.map
encode_symbols kallsyms.map > kallsyms.c
$CC $CFLAGS -c -o $2 kallsyms.c
_
-- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:11 EST