2013-04-06 16:48:33 +02:00

17 lines
330 B
Bash
Executable File

#!/bin/sh
# $NetBSD: Showsyms,v 1.3 1996/10/09 00:15:15 jtc 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 '