From: Rusty Russell <rusty@rustcorp.com.au>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Don't sort kallsyms symbols twice
Date: Mon, 02 Dec 2002 12:26:22 +1100 [thread overview]
Message-ID: <20021202013103.1E00B2C083@lists.samba.org> (raw)
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.
reply other threads:[~2002-12-02 1:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021202013103.1E00B2C083@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome