aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/lib/dounssym
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/lib/dounssym')
-rwxr-xr-xgas/testsuite/lib/dounssym8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/lib/dounssym b/gas/testsuite/lib/dounssym
new file mode 100755
index 0000000..a44da62
--- /dev/null
+++ b/gas/testsuite/lib/dounssym
@@ -0,0 +1,8 @@
+#!/bin/sh
+# 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