Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / sun3 / ramdisk / Showsyms
blob9516203c884d67b49f57c9e10f0bd58bd3d533d2
1 #!/bin/sh
2 # $NetBSD: Showsyms,v 1.2.6.1 1996/09/13 20:22:49 gwr Exp $
3 # Small helper to print out symbols in a useful order.
5 tf=_tmp$$
7 nm -n rd_bin.syms | egrep -v ' (gcc2|___gnu)_compiled' > $tf
9 grep -i ' u ' $tf
10 grep -i ' a ' $tf
11 grep -i ' t ' $tf
12 grep -i ' d ' $tf
13 grep -i ' b ' $tf
14 rm -f $tf
16 nm -p rd_bin.syms | grep -i ' c '