blob: 766ef200da0a58894d7865b8eff6ef2180771570 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
# $NetBSD: Showsyms,v 1.1 2001/05/18 00:16:40 fredette Exp $
# Small helper to print out symbols in a useful order.
tf=_tmp$$
nm -n rd_bin.syms | egrep -v ' (gcc2|___gnu)_compiled' > $tf
grep -i ' u ' $tf
grep -i ' a ' $tf
grep -i ' t ' $tf
grep -i ' d ' $tf
grep -i ' b ' $tf
rm -f $tf
nm -p rd_bin.syms | grep -i ' c '
|