From a6a5d3492796f75b03b92f86226b2741ee468f0d Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 25 Nov 1998 09:58:04 +0000 Subject: [PATCH] Fix --enable-build-warnings=-Werror failures. v850/simops.c, d10v/simops.c, v850/Makefile.in, d10v/Makefile.in: Include targ-vals.h instead of syscall.h. Replace SYS_* with TARGET_SYS_*. Add dependency. z8k/support.c: Include v850/simops.c: Replace long with portable signed32. mips/interp.c: Make sim_monitor global - needed by sky. --- sim/mips/ChangeLog | 5 +++++ sim/v850/ChangeLog | 32 ++++++++++++++++++++++++++++++++ sim/v850/Makefile.in | 32 ++++++-------------------------- 3 files changed, 43 insertions(+), 26 deletions(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 686b76dc748..d97d985f807 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +Wed Nov 25 13:41:03 1998 Andrew Cagney + + * sim-main.h, interp.c (sim_monitor): Change to global + function. + Wed Nov 25 17:33:24 1998 Andrew Cagney * configure.in (vr4100): Only include vr4100 instructions in diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 89630f87b28..ce45dc36e81 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,35 @@ +Wed Nov 25 17:52:58 1998 Andrew Cagney + + * Makefile.in (simops.o): Depends on targ-vals.h + * simops.c: Include targ-vals.h instead of + libgloss/.../syscall.h. Replace SYS_* with TARGET_SYS_*. +start-sanitize-v850e + (divn, divun, OP_1C007E0, OP_18207E0, OP_1C207E0,OP_18007E0): + Replace signed long int with signed32. +end-sanitize-v850e + +Fri Oct 9 18:02:25 1998 Doug Evans + + * interp.c: #include "itable.h". + (get_insn_name): New function. + (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS. + * sim-main.h (MAX_INSNS,INSN_NAME): Delete. + +start-sanitize-v850e +Wed Aug 26 10:43:01 1998 Nick Clifton + + * v850.igen: Sanitize out references to PSW_US in sld.b and + sld.h. + +end-sanitize-v850e +Wed May 6 19:43:27 1998 Doug Evans + + * sim-main.h (INSN_NAME): New arg `cpu'. + +Tue Apr 28 18:33:31 1998 Geoffrey Noer + + * configure: Regenerated to track ../common/aclocal.m4 changes. + Sun Apr 26 15:31:55 1998 Tom Tromey * configure: Regenerated to track ../common/aclocal.m4 changes. diff --git a/sim/v850/Makefile.in b/sim/v850/Makefile.in index 043aa2aa366..ba282388afc 100644 --- a/sim/v850/Makefile.in +++ b/sim/v850/Makefile.in @@ -19,28 +19,16 @@ ## COMMON_PRE_CONFIG_FRAG SIM_OBJS = \ + $(SIM_NEW_COMMON_OBJS) \ simops.o interp.o \ itable.o semantics.o idecode.o icache.o engine.o irun.o support.o \ - sim-bits.o \ - sim-config.o \ - sim-core.o \ sim-engine.o \ - sim-endian.o \ - sim-events.o \ sim-hload.o \ sim-hrw.o \ - sim-io.o \ - sim-load.o \ - sim-memopt.o \ - sim-module.o \ - sim-options.o \ - sim-profile.o \ sim-resume.o \ sim-reason.o \ - sim-stop.o \ - sim-trace.o \ - sim-watch.o \ - sim-utils.o + sim-stop.o + SIM_RUN_OBJS = nrun.o # List of extra dependencies. @@ -48,20 +36,12 @@ SIM_RUN_OBJS = nrun.o SIM_EXTRA_DEPS = v850_sim.h sim-main.h simops.h itable.h # List of flags to always pass to $(CC) -SIM_WARNINGS=@sim_warnings@ -SIM_ENDIAN=@sim_endian@ -SIM_HOSTENDIAN=@sim_hostendian@ -SIM_RESERVED_BITS=@sim_reserved_bits@ SIM_EXTRA_CFLAGS = \ -DDEBUG \ - -I$(srcdir)/../../newlib/libc/sys/sysnecv850 \ - $(SIM_WARNINGS) \ - $(SIM_ENDIAN) \ - $(SIM_HOSTENDIAN) \ - $(SIM_RESERVED_BITS) + -I$(srcdir)/../../newlib/libc/sys/sysnecv850 SIM_EXTRA_CLEAN = clean-extra -INCLUDE = $(sim_main_headers) $(SIM_EXTRA_DEPS) +INCLUDE = $(sim_main_headers) $(SIM_EXTRA_DEPS) ## COMMON_POST_CONFIG_FRAG @@ -155,6 +135,6 @@ clean-extra: clean-igen rm -f table.c simops.h gencode #interp.o: interp.c table.c $(INCLUDE) -simops.o: simops.c $(INCLUDE) +simops.o: simops.c $(INCLUDE) targ-vals.h #table.o: table.c semantics.o: $(INCLUDE) -- 2.30.2