aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/Makefile.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-10-27 07:55:24 +0000
committerAndrew Cagney <cagney@redhat.com>1997-10-27 07:55:24 +0000
commit16bd5d6e527b13eee522e9c2afa8a24c37f53fc5 (patch)
treea6e82ccf5cdd5d3930498dab64b3b3f7f27873a3 /sim/mips/Makefile.in
parent90ad43b2deb869abb5621d94be990f0cb07379bd (diff)
downloadgdb-16bd5d6e527b13eee522e9c2afa8a24c37f53fc5.zip
gdb-16bd5d6e527b13eee522e9c2afa8a24c37f53fc5.tar.gz
gdb-16bd5d6e527b13eee522e9c2afa8a24c37f53fc5.tar.bz2
Separate r5900 specifoc and mips16 instructions.
Add support for this to configure (vr5400 target only)
Diffstat (limited to 'sim/mips/Makefile.in')
-rw-r--r--sim/mips/Makefile.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/sim/mips/Makefile.in b/sim/mips/Makefile.in
index 391cd24..30fe9bd 100644
--- a/sim/mips/Makefile.in
+++ b/sim/mips/Makefile.in
@@ -54,6 +54,10 @@ SIM_OBJS = \
# List of flags to always pass to $(CC).
SIM_SUBTARGET=@SIM_SUBTARGET@
+SIM_NO_CFLAGS = -DWITH_IGEN=0
+SIM_IGEN_CFLAGS = -DWITH_IGEN=1
+SIM_M16_CFLAGS = -DWITH_IGEN=1
+
# FIXME: Hack to find syscall.h? Better support for syscall.h
# is in progress.
SIM_EXTRA_CFLAGS = \
@@ -98,7 +102,6 @@ IGEN_INSN=$(srcdir)/mips.igen
IGEN_DC=$(srcdir)/mips.dc
-SIM_IGEN_CFLAGS = -DWITH_IGEN
SIM_IGEN_ALL = tmp-igen
BUILT_SRC_FROM_IGEN = \
@@ -132,8 +135,7 @@ tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen
-I $(srcdir) \
-Werror \
-Wnodiscard \
- -F 32,64,f \
- -M mipsIV \
+ @sim_igen_flags@ \
-G gen-direct-access \
-i $(IGEN_INSN) \
-o $(IGEN_DC) \
@@ -172,7 +174,6 @@ tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen
-SIM_M16_CFLAGS = -DWITH_IGEN
SIM_M16_ALL = tmp-igen $(SIM_M16_ALL)
BUILT_SRC_FROM_M16 = \