From efec4a282c17a6814a2ff28b15d6305af8aaf2bb Mon Sep 17 00:00:00 2001 From: Dawn Perchik Date: Sun, 23 Feb 1997 22:23:12 +0000 Subject: * itbl-parse.y: Fix indentation mistakes from indent program. * itbl-lex.l: Fix indentation mistakes from indent program. * itbl-ops.h: Add include for ansidecl.h. Add PARAMS around function arguments. Add declaration for itbl_have_entries. * itbl-ops.c: Add PARAMS around function arguments. * Makefile.in: Add itbl build rules. Add dependancies for itbl files to mips target. * as.c: Add itbl support. Add new option "--insttbl" for dynamically extending instruction set. * as.h: Declare insttbl_file_name; the name of file defining extensions to the basic instruction set * configure.in, configure: Add itbl-parse.o, itbl-lex.o, and itbl-ops.o to extra_objects for mips configuration. Add include file link from itbl-cpu.h to config/itbl-${target_cpu_type}.h. * config/tc-mips.c: Allow copz instructions. Add notes for future additions to the itbl support. Add debug macros. (macro): Call itbl_assemble to assemble itbl instructions. See if an unknown register is specified in an itbl entry. --- gas/configure.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gas/configure.in') diff --git a/gas/configure.in b/gas/configure.in index a15817b..bd28052 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -365,6 +365,26 @@ changequote([,])dnl *) extra_objects="$extra_objects m68k-parse.o" ;; esac ;; + + mips) + `echo ${extra_objects}` | grep -s "itbl-parse.o" + if test $? -ne 0 ; then + extra_objects="$extra_objects itbl-parse.o" + fi + + `echo ${extra_objects}` | grep -s "itbl-lex.o" + if test $? -ne 0 ; then + extra_objects="$extra_objects itbl-lex.o" + fi + + `echo ${extra_objects}` | grep -s "itbl-ops.o" + if test $? -ne 0 ; then + extra_objects="$extra_objects itbl-ops.o" + fi + ;; + + *) + ;; esac # See if we really can support this configuration with the emulation code. @@ -527,8 +547,10 @@ AC_DEFINE_UNQUOTED(DEFAULT_EMULATION, "$DEFAULT_EMULATION") files="config/tc-${target_cpu_type}.c config/tc-${target_cpu_type}.h \ config/obj-${obj_format}.h config/obj-${obj_format}.c \ config/te-${te_file}.h config/atof-${atof}.c \ + config/itbl-${target_cpu_type}.h \ $extra_files" links="targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c \ + itbl-cpu.h \ $extra_links" case ${primary_bfd_gas}-${target_cpu_type}-${obj_format} in -- cgit v1.1