aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/as/testscripts/dounsortreloc
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/as/testscripts/dounsortreloc')
-rwxr-xr-xgnu/usr.bin/as/testscripts/dounsortreloc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/usr.bin/as/testscripts/dounsortreloc b/gnu/usr.bin/as/testscripts/dounsortreloc
new file mode 100755
index 000000000000..b990553fa6e7
--- /dev/null
+++ b/gnu/usr.bin/as/testscripts/dounsortreloc
@@ -0,0 +1,9 @@
+#!/bin/sh
+# $Id: dounsortreloc,v 1.1 1993/11/03 00:56:22 paul Exp $
+# objdump the reloc table, but strip off the headings and reloc
+# numbers and sort the result. Intended for use in comparing reloc
+# tables that may not be in the same order.
+
+objdump +reloc +omit-relocation-numbers +omit-symbol-numbers $1 \
+ | sort
+#eof