2 ### quick sanity test for the binutils.
4 ### This file was written and is maintained by K. Richard Pixley,
10 ### first arg is directory in which binaries to be tested reside.
17 for i
in size objdump nm
ar strip ranlib
; do
18 ${BIN}/size
${BIN}/$i > /dev
/null
22 for i
in size objdump nm
ar strip ranlib
; do
23 ${BIN}/objdump
-ahifdrtxsl ${BIN}/$i > /dev
/null
27 for i
in size objdump nm
ar strip ranlib
; do
28 ${BIN}/nm
${BIN}/$i > /dev
/null
32 TMPDIR
=/tmp
/binutils-$$
35 cp ${BIN}/strip
${TMPDIR}/strip
37 for i
in size objdump nm
ar ranlib
; do
38 cp ${BIN}/$i ${TMPDIR}/$i
39 ${BIN}/strip
${TMPDIR}/$i
40 cp ${BIN}/$i ${TMPDIR}/$i
41 ${TMPDIR}/strip
${TMPDIR}/$i