NetBSD/gnu/usr.bin/gas/testscripts/dounsortreloc

10 lines
322 B
Bash
Executable File

#!/bin/sh
# $Id: dounsortreloc,v 1.1 1993/10/02 21:01:11 pk 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