NetBSD/distrib/sun2/ramdisk/Showsyms
2001-05-18 00:16:36 +00:00

17 lines
335 B
Bash
Executable File

#!/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 '