view leo-obj/toolwrap/disasm-wrap.sh @ 269:d0bb4b083595

dsample-fw-disasm: located cinit records for rf_path and synth_*
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Jan 2018 07:20:42 +0000
parents 21fda9752bd9
children
line wrap: on
line source

#!/bin/sh
if [ $# != 3 ]
then
	echo "usage: $0 objfile hints-file disasm-outfile" >&2
	exit 1
fi

if [ -f $2 ]
then
	set -x
	../tool/tiobjd $1 disasm -h $2 > $3
else
	set -x
	../tool/tiobjd $1 disasm > $3
fi