diff options
Diffstat (limited to 'gas/testscripts/dounsortsymbols')
-rwxr-xr-x | gas/testscripts/dounsortsymbols | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/testscripts/dounsortsymbols b/gas/testscripts/dounsortsymbols new file mode 100755 index 0000000..8fb6db3 --- /dev/null +++ b/gas/testscripts/dounsortsymbols @@ -0,0 +1,9 @@ +#!/bin/sh +# $Id$ +# objdump the symbol table, but strip off the headings and symbol +# numbers and sort the result. Intended for use in comparing symbol +# tables that may not be in the same order. + +objdump +symbols +omit-symbol-numbers $1 \ + | sort +#eof |