aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorDawn Perchik <dawn@cygnus>1997-02-23 22:23:12 +0000
committerDawn Perchik <dawn@cygnus>1997-02-23 22:23:12 +0000
commitefec4a282c17a6814a2ff28b15d6305af8aaf2bb (patch)
tree4e9afaa9bb6cb915bd311a7b7425ef13ede8cc1b /gas/configure.in
parentc7583da0b6ef488954a9c299d95452e5e081e22e (diff)
downloadgdb-efec4a282c17a6814a2ff28b15d6305af8aaf2bb.zip
gdb-efec4a282c17a6814a2ff28b15d6305af8aaf2bb.tar.gz
gdb-efec4a282c17a6814a2ff28b15d6305af8aaf2bb.tar.bz2
* 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.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in22
1 files changed, 22 insertions, 0 deletions
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