Home | History | Annotate | Line # | Download | only in ramdisk
      1 #!/bin/sh
      2 # $NetBSD: Showsyms,v 1.1 2001/05/18 00:16:40 fredette Exp $
      3 # Small helper to print out symbols in a useful order.
      4 
      5 tf=_tmp$$
      6 
      7 nm -n rd_bin.syms | egrep -v ' (gcc2|___gnu)_compiled' > $tf
      8 
      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
     15 
     16 nm -p rd_bin.syms | grep -i ' c '
     17