+
+ * gencode.c (tab): Added several sh3 opcodes.
+ (think): Added printonmatch for A_SSR and A_SPC.
+ * interp.c (SSR, SPC): Added definitions.
+ (saved_state_type): Added ssr and spc registers.
+
+
+ * gencode.c (tab): In shad/shld definitions, negate R[m] before
+ the and operation instead of after. For shad delete cast. For shld
+ use UR instead of R and delete cast.
+
+start-sanitize-sh3e
+
+ * gencode.c (tab): Add explicit NaN support for ftrc instruction.
+
+end-sanitize-sh3e
+
+ * interp.c: Make target_byte_order be extern to prevent SGI cc from
+ issuing warnings about the use of common symbols.
+
+
+ * gencode.c: jsr, bsr and bsrf actually save pc+4 in pr, and rts
+ actually uses pr+0.
+
+
+ * sh/interp.c (sim_stop_reason): Catch SIGQUIT and indicate
+ program exited.
+ (sim_get_quit_code): Delete.
+
+ * gencode.c (gensim): Indicate SIGILL instead of calling abort for
+ default case.
+
+start-sanitize-sh3e
+
+ * interp.c (saved_state_type): Move FP registers to immediately
+ after SR.
+
+end-sanitize-sh3e
+
+ * Makefile.in (BISON): Remove macro.
+
+
+ * interp.c (trap, case SYS_utime): Cast second arg of utime to
+ void * to avoid compiler error.
+
+ * interp.c (callback): Remove last change. It is initialized by
+ a sim_set_callbacks call.
+
+
+ * interp.c (callback): Initialize to default callback.
+
+
+ * run.c: Moved to ../common.
+ * interp.c (trap): Use gdb's callback interface.
+ * Makefile.in: Updated.
+
+
+ * Makefile.in (maintainer-clean): New synonym for realclean.
+
+
+ * run.c (sim_callback_write_stdout): New.
+ * interp.c (trap): Call sim_callback_write_stdout when needed.
+
+
+ * interp.c (trap): Remove useless code.
+
+
+ * syscall.h: Copy from newlib.
+
+start-sanitize-sh3e
+
+ * gencode.c: Back up PC by 2 for breakpoints.
+ * interp.c: Move fp regs beyond pc/pr/etc to avoid confusing GDB,
+ which expect pc to immediatly follow regs[].
+
+end-sanitize-sh3e
+
+ * configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.
+ * configure: Rebuild.
+ * Makefile.in (INSTALL): Revert to using install.sh.
+ (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
+ (INSTALL_XFORM, INSTALL_XFORM1): Restore.
+ (CC_FOR_BUILD): Restore.
+ (gencode): Build using $(CC_FOR_BUILD).
+ (install): Don't install in $(tooldir).
+
+
+ (Try to) Update to new bfd autoconf scheme.
+ * run.c: Don't include sysdep.h.
+ * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
+ (CC, CFLAGS, AR, RANLIB): Likewise.
+ (HDEFINES, TDEFINES): Define.
+ (CC_FOR_BUILD): Delete.
+ (host_makefile_frag): Delete.
+ (Makefile): Don't depend on frags.
+ * configure.in (sysdep.h): Don't create symlink.
+ (host_makefile_frag, frags): Deleted.
+ (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
+ * configure: Regenerated.
+
+start-sanitize-sh3e
+
+ * interp.c: Include <math.h>.
+
+end-sanitize-sh3e
+ * Makefile.in (run): Link in math library too.
* gencode.c (gensim): abort if an unknown opcode is encountered.
+start-sanitize-sh3e
+ * interp.c (FPSCR, FPUL): Define.
+ (struct save_state): Add fields for floating point registers,
+ FPSCR and FPUL.
+ (sim_resume): Add 'F' for accessing floating point registers
+ in the save state structure.
+ * gencode.c: Add sh3e opcodes.
+ (gensym): Define a buffer for int<->fp conversions.
+end-sanitize-sh3e