Fix --enable-build-warnings=-Werror failures.
authorAndrew Cagney <cagney@redhat.com>
Wed, 25 Nov 1998 09:58:04 +0000 (09:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 25 Nov 1998 09:58:04 +0000 (09:58 +0000)
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 <errno.h>
v850/simops.c: Replace long with portable signed32.
mips/interp.c: Make sim_monitor global - needed by sky.

sim/mips/ChangeLog
sim/v850/ChangeLog
sim/v850/Makefile.in

index 686b76dc748988cfc30c92691ec83f1f0dfe54b0..d97d985f8079e04a20d03dfb525f07167fedebb5 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 25 13:41:03 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-main.h, interp.c (sim_monitor): Change to global
+       function.
+
 Wed Nov 25 17:33:24 1998  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * configure.in (vr4100): Only include vr4100 instructions in
index 89630f87b28274417706ce8c7ce4686517b4dc71..ce45dc36e8174b1ecf4fb7f03df96a8d3b668970 100644 (file)
@@ -1,3 +1,35 @@
+Wed Nov 25 17:52:58 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * 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  <devans@canuck.cygnus.com>
+
+       * 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  <nickc@cygnus.com>
+
+       * 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  <devans@canuck.cygnus.com>
+
+       * sim-main.h (INSN_NAME): New arg `cpu'.
+
+Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
+
+        * configure: Regenerated to track ../common/aclocal.m4 changes.
+
 Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
 
        * configure: Regenerated to track ../common/aclocal.m4 changes.
index 043aa2aa36632d7187d5e2359a862f58229035a5..ba282388afcf4f9850ccfb31eb88f83ed0f2b9e8 100644 (file)
 ## 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)