#! /bin/sh
# CGEN generic assembler support code.
#
-# Copyright 2001 Free Software Foundation, Inc.
+# Copyright 2000, 2003, 2005 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils and GDB, the GNU debugger.
#
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
#
# Generate CGEN opcode files: arch-desc.[ch], arch-opc.[ch],
# arch-asm.c, arch-dis.c, arch-opinst.c, arch-ibld.[ch].
action=$1
srcdir=$2
-cgen=$3
+cgen="$3"
cgendir=$4
cgenflags=$5
arch=$6
rm -f tmp-dis.c tmp-dis.in1
# Run CGEN.
- ${cgen} -s ${cgendir}/cgen-opc.scm \
+ ${cgen} ${cgendir}/cgen-opc.scm \
-s ${cgendir} \
${cgenflags} \
-f "${options}" \