readelf (377B)
1 #!/bin/sh 2 3 case "$1 $2" in 4 "--wide --symbols") 5 # When called with --wide --symbols, we remove the first column (which 6 # is essentially a line number that is not very useful), and then sort, 7 # which will order symbols by address, making a diff more useful. 8 /usr/bin/readelf "$@" | awk -F: '{print $2}' | sort 9 ;; 10 *) 11 exec /usr/bin/readelf "$@" 12 ;; 13 esac