summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gas/testscripts/dounsortreloc
blob: 0c69b31db96d010b0f32f51d52963d43f70eb2fc (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# $OpenBSD: dounsortreloc,v 1.2 1998/02/15 18:50:13 niklas 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